Function at 0x4052c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x6c
mov eax, dword [eax + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
cmp eax, 7
je 0x405370
cmp eax, 8
je 0x405465
cmp eax, 9
je 0x4056a0
cmp eax, 0xa
jne 0x405dbc
mov eax, dword [ebx + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, ecx
sub eax, edx
mov ebp, eax
nop
sub edx, 1
js 0x405b30
mov esi, ecx
sub esi, dword [ebx + 0x10c]
mov edi, dword [ebx + 0x60]
and esi, dword [ebx + 0x44]
movzx eax, byte [edi + esi]
mov byte [edi + ecx], al
mov eax, ebp
add ecx, 1
add eax, edx
jne 0x405310
mov dword [esp + 0x28], ecx
mov dword [ebx], 0x10
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword [ebx + 4], edx
mov dword [ebx + 0x34], ecx
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.00404b70
test eax, eax
je 0x40542e
mov esi, esi
lea edi, [edi]
mov eax, dword [ebx + 0xc4]
mov dword [ebx], 7
test eax, eax
je 0x405358
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
mov esi, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x14]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x40], eax
mov eax, 0x20
sub eax, esi
cmp eax, 0xe
ja 0x40557e
test ecx, ecx
je 0x405dc6
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov esi, 0x28
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
sub esi, ecx
lea esi, [esi]
lea edi, [edi]
shr edx, 8
sub ecx, 8
sub ebp, 1
mov dword [ebx + 8], edx
movzx edi, byte [eax]
add eax, 1
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x10], eax
shl edi, 0x18
or edx, edi
cmp esi, 0xe
mov dword [ebx + 8], edx
ja 0x405590
add esi, 8
test ebp, ebp
jne 0x4053e0
lea eax, [esp + 0x5c]
lea ecx, [ebx + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call fcn.004046f0
test eax, eax
jne 0x405fa4
mov edx, dword [esp + 0x2c]
jmp 0x405694
xor eax, eax
movzx ecx, word [esp + 0x48]
sub dword [ebx + 0xc4], 1
add eax, ecx
add edx, dword [esp + 0x2c]
mov dword [ebx + 0x108], eax
mov dword [esp + 0x2c], edx
je 0x4056aa
mov eax, dword [esp + 0x2c]
sub dword [ebx + 0xb8], eax
lea esi, [ebx + 0xc]
mov eax, dword [ebx + 0xb0]
mov edi, ebx
mov dword [esp + 0x38], esi
test eax, eax
mov dword [edi], 8
je 0x405815
mov eax, dword [edi + 0xc0]
nop
lea esi, [esi]
test eax, eax
je 0x4057f2
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x30], eax
mov eax, 0x20
sub eax, ecx
cmp eax, 0xe
ja 0x405a8b
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 8]
test eax, eax
je 0x405503
mov ebx, dword [edi + 0x10]
mov esi, 0x28
sub esi, ecx
lea esi, [esi]
shr edx, 8
sub ecx, 8
sub eax, 1
mov dword [edi + 8], edx
movzx ebp, byte [ebx]
add ebx, 1
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], ebx
shl ebp, 0x18
or edx, ebp
cmp esi, 0xe
mov dword [edi + 8], edx
ja 0x405a90
add esi, 8
test eax, eax
jne 0x4054d0
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
call fcn.004046f0
test eax, eax
je 0x405dac
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edx, dword [edi + 0x60]
mov byte [edx + esi], al
mov eax, dword [edi + 0xc0]
add esi, 1
mov dword [esp + 0x28], esi
sub eax, 1
cmp esi, dword [edi + 0x40]
mov dword [edi + 0xc0], eax
je 0x405b10
sub dword [esp + 0x2c], 1
jne 0x405490
mov ebx, edi
mov edi, dword [edi + 0xb8]
test edi, edi
jle 0x405efe
mov eax, dword [ebx + 0x10c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], eax
jmp 0x4056aa
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea esi, [esi]
lea edi, [edi]
mov esi, dword [esp + 0x40]
shr edx, cl
movzx eax, dl
lea esi, [esi + eax*4]
movzx eax, byte [esi]
cmp al, 8
ja 0x4057d1
add ecx, eax
movzx eax, word [esi + 2]
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x5c], eax
lea esi, [eax*8 + 0x4676e0]
movzx ecx, byte [eax*8 + 0x4676e0]
movzx eax, byte [esi + 1]
movzx edi, word [esi + 6]
movzx edx, word [esi + 4]
mov byte [esp + 0x44], al
movzx eax, byte [esi + 3]
movsx esi, byte [esi + 2]
mov word [esp + 0x48], di
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0x10c], esi
mov dword [esp + 0x40], esi
mov esi, dword [ebx + 0x74]
movzx eax, byte [esi + eax]
mov byte [ebx + 0x104], al
movzx eax, cl
test eax, eax
mov esi, eax
mov dword [esp + 0x2c], eax
je 0x405951
mov ebp, dword [ebx + 0xc]
mov eax, 0x20
sub eax, ebp
cmp esi, eax
jbe 0x405f1a
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x405678
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
mov edi, 0x28
sub edi, ebp
mov dword [esp + 0x4c], edx
nop
lea esi, [esi]
shr eax, 8
sub ebp, 8
sub ecx, 1
mov dword [ebx + 8], eax
movzx edx, byte [esi]
add esi, 1
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], esi
shl edx, 0x18
or eax, edx
cmp dword [esp + 0x2c], edi
mov dword [ebx + 8], eax
jbe 0x405935
add edi, 8
test ecx, ecx
jne 0x405640
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
mov eax, 2
jmp 0x405346
mov eax, dword [ebx + 0x10c]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x40]
mov dword [ebx], 9
test esi, esi
js 0x405b80
sete al
movzx eax, al
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0x48]
sub eax, 1
mov dword [ebx + 0x48], eax
and eax, 3
mov eax, dword [ebx + eax*4 + 0x4c]
mov dword [ebx + 0x10c], eax
mov edx, dword [ebx + 0x38]
cmp dword [ebx + 0x3c], edx
je 0x4056f2
mov ecx, dword [esp + 0x28]
cmp edx, ecx
cmovg edx, ecx
mov dword [ebx + 0x3c], edx
mov ecx, dword [ebx + 0x108]
cmp eax, edx
mov edi, ecx
mov dword [esp + 0x2c], ecx
jle 0x4059d0
cmp eax, 0x7ffffffc
jg 0x405ef4
sub ecx, 4
cmp ecx, 0x14
ja 0x405eea
mov ebp, dword [ebx + 0x248]
mov ecx, edi
sub eax, edx
sub eax, 1
mov esi, dword [ebx + 0x24c]
movzx ecx, byte [ebp + ecx]
mov edi, dword [ebp + edi*4 + 0x20]
mov edx, dword [ecx*4 + 0x468d60]
and edx, eax
sar eax, cl
mov ecx, dword [ebx + 0xb4]
imul edx, dword [esp + 0x2c]
add dword [ebx + 0x48], ecx
mov ecx, dword [ebp + 0xa4]
add edx, edi
test ecx, ecx
je 0x405e0e
cmp eax, dword [esi + 0xc]
jge 0x405f10
add edx, ecx
movsx ecx, word [esi + 0x18]
cmp eax, ecx
je 0x405dcf
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
add eax, dword [ebx + 0x60]
mov dword [esp], eax
call fcn.00401800
mov esi, dword [ebx + 0xb8]
add dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
sub esi, eax
cmp ecx, dword [ebx + 0x40]
mov eax, esi
mov dword [ebx + 0xb8], esi
jl 0x405a6f
mov dword [ebx], 0xf
mov edx, dword [esp + 0x2c]
mov eax, 1
jmp 0x405346
shr edx, 8
add ecx, 8
and edx, 0x7f
and edx, dword [eax*4 + 0x468d40]
movzx eax, word [esi + 2]
add eax, edx
lea esi, [esi + eax*4]
movzx eax, byte [esi]
jmp 0x4055a7
mov eax, edi
call fcn.004047a0
test eax, eax
je 0x405dac
mov ebp, dword [edi + 0xb0]
test ebp, ebp
jne 0x405498
mov dword [edi], 8
mov esi, dword [esp + 0x28]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x60]
mov eax, esi
sub eax, 1
and eax, ecx
movzx eax, byte [edx + eax]
mov byte [esp + 0x30], al
mov eax, esi
sub eax, 2
and eax, ecx
movzx ebx, byte [edx + eax]
mov eax, dword [edi + 0xc0]
nop
test eax, eax
je 0x405b56
mov edx, dword [edi + 0x6c]
movzx ecx, byte [esp + 0x30]
movzx eax, byte [edx + ebx + 0x100]
or al, byte [edx + ecx]
mov edx, dword [edi + 0x70]
mov ecx, dword [edi + 0xc]
movzx eax, al
movzx edx, byte [edx + eax]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x34], eax
mov eax, 0x20
sub eax, ecx
cmp eax, 0xe
ja 0x405acd
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 8]
test eax, eax
je 0x4058d3
mov ebx, dword [edi + 0x10]
mov esi, 0x28
sub esi, ecx
lea esi, [esi]
lea edi, [edi]
shr edx, 8
sub ecx, 8
sub eax, 1
mov dword [edi + 8], edx
movzx ebp, byte [ebx]
add ebx, 1
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], ebx
shl ebp, 0x18
or edx, ebp
cmp esi, 0xe
mov dword [edi + 8], edx
ja 0x405ad0
add esi, 8
test eax, eax
jne 0x4058a0
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call fcn.004046f0
test eax, eax
je 0x405dac
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x60]
mov byte [eax + ecx], dl
mov eax, dword [edi + 0xc0]
add ecx, 1
mov dword [esp + 0x28], ecx
sub eax, 1
cmp ecx, dword [edi + 0x40]
mov dword [edi + 0xc0], eax
je 0x405b10
sub dword [esp + 0x2c], 1
movzx ebx, byte [esp + 0x30]
je 0x405557
mov byte [esp + 0x30], dl
jmp 0x405840
mov edx, dword [esp + 0x4c]
mov ecx, ebp
shr eax, cl
mov ecx, dword [esp + 0x2c]
and eax, dword [ecx*4 + 0x468d60]
add ebp, ecx
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x44]
test eax, eax
mov ecx, eax
mov dword [esp + 0x44], eax
je 0x405437
mov ebp, dword [ebx + 0xc]
mov eax, 0x20
sub eax, ebp
cmp ecx, eax
jbe 0x405f22
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x405678
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov esi, 0x28
sub esi, ebp
mov dword [esp + 0x4c], edx
shr eax, 8
sub ebp, 8
sub ecx, 1
mov dword [ebx + 8], eax
movzx edx, byte [edi]
add edi, 1
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], edi
shl edx, 0x18
or eax, edx
cmp dword [esp + 0x44], esi
mov dword [ebx + 8], eax
jbe 0x405df1
add esi, 8
test ecx, ecx
jne 0x405992
jmp 0x405674
mov esi, dword [esp + 0x28]
mov edx, dword [ebx + 0x60]
mov edi, esi
lea ecx, [edx + esi]
mov ebp, esi
sub edi, eax
mov esi, dword [esp + 0x2c]
and edi, dword [ebx + 0x44]
add ebp, esi
mov dword [esp + 0x30], ebp
mov ebp, esi
add esi, edi
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x48]
add edx, edi
mov dword [esp + 0x38], edi
mov edi, esi
and edi, 3
mov dword [ebx + edi*4 + 0x4c], eax
lea eax, [esi + 1]
sub dword [ebx + 0xb8], ebp
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 4]
mov edi, dword [edx + 8]
mov ebp, dword [edx]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x28], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov dword [ecx], ebp
mov eax, dword [ebx + 0x40]
jge 0x405a44
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x38], esi
jl 0x405300
mov esi, dword [esp + 0x30]
cmp esi, eax
jge 0x405300
cmp dword [esp + 0x34], eax
jge 0x405300
cmp dword [esp + 0x2c], 0x10
jg 0x405e9e
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x28], esi
test eax, eax
jg 0x405370
mov dword [ebx], 0xe
mov edx, dword [esp + 0x2c]
mov eax, 1
jmp 0x405346
mov edx, dword [edi + 8]
nop
mov esi, dword [esp + 0x30]
shr edx, cl
movzx eax, dl
lea ebx, [esi + eax*4]
movzx eax, byte [ebx]
cmp al, 8
jbe 0x405abf
shr edx, 8
add ecx, 8
and edx, 0x7f
and edx, dword [eax*4 + 0x468d40]
movzx eax, word [ebx + 2]
add eax, edx
lea ebx, [ebx + eax*4]
movzx eax, byte [ebx]
add ecx, eax
movzx eax, word [ebx + 2]
mov dword [edi + 0xc], ecx
jmp 0x405523
mov edx, dword [edi + 8]
mov esi, dword [esp + 0x34]
shr edx, cl
movzx eax, dl
lea ebx, [esi + eax*4]
movzx eax, byte [ebx]
cmp al, 8
jbe 0x405aff
shr edx, 8
add ecx, 8
and edx, 0x7f
and edx, dword [eax*4 + 0x468d40]
movzx eax, word [ebx + 2]
add edx, eax
lea ebx, [ebx + edx*4]
movzx eax, byte [ebx]
add ecx, eax
movzx edx, word [ebx + 2]
mov dword [edi + 0xc], ecx
jmp 0x4058f3
mov edx, dword [esp + 0x2c]
mov ebx, edi
mov dword [edi], 0xd
mov eax, 1
sub edx, 1
jmp 0x405346
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test eax, eax
jg 0x405370
mov dword [ebx], 0xe
mov eax, 1
jmp 0x405346
mov eax, edi
call fcn.004047a0
test eax, eax
je 0x405dac
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x405848
jmp 0x405474
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x405e8a
movzx edx, byte [ebx + 0x104]
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10]
mov edi, ecx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x30], eax
mov eax, 0x20
sub eax, ecx
cmp eax, 0xe
ja 0x405c50
mov edx, dword [esp + 0x30]
test edx, edx
je 0x405ed4
mov ecx, dword [esp + 0x3c]
mov eax, 0x28
mov edx, dword [esp + 0x34]
sub eax, ecx
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov eax, dword [esp + 0x40]
lea esi, [esi]
shr edx, 8
sub edi, 8
sub ecx, 1
mov dword [ebx + 8], edx
movzx esi, byte [eax]
add eax, 1
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], eax
shl esi, 0x18
or edx, esi
cmp ebp, 0xe
mov dword [ebx + 8], edx
ja 0x405c50
add ebp, 8
test ecx, ecx
jne 0x405c00
lea eax, [esp + 0x58]
lea ecx, [ebx + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call fcn.004046f0
test eax, eax
je 0x40542e
mov esi, dword [esp + 0x58]
jmp 0x405c76
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x38]
movzx eax, dl
lea ecx, [ecx + eax*4]
movzx eax, byte [ecx]
cmp al, 8
ja 0x405d4a
movzx esi, word [ecx + 2]
add edi, eax
mov dword [ebx + 0xc], edi
mov dword [esp + 0x58], esi
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 0xb4], 0
sub eax, 1
test esi, 0xfffffff0
mov dword [esp + 0x44], eax
mov dword [ebx + 0xc8], eax
je 0x405d6b
movzx eax, byte [ebx + esi + 0x270]
test eax, eax
mov ecx, eax
mov dword [esp + 0x38], eax
je 0x405e75
cmp eax, 0x18
ja 0x405f3e
mov edi, dword [ebx + 0xc]
mov eax, 0x20
sub eax, edi
cmp ecx, eax
jbe 0x405f9c
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x405d1c
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov ebp, 0x28
sub ebp, edi
mov dword [esp + 0x48], esi
shr eax, 8
sub edi, 8
sub ecx, 1
mov dword [ebx + 8], eax
movzx esi, byte [edx]
add edx, 1
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], edx
shl esi, 0x18
or eax, esi
cmp ebp, dword [esp + 0x38]
mov dword [ebx + 8], eax
jae 0x405e59
add ebp, 8
test ecx, ecx
jne 0x405ce8
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [ebx + 0xc8], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x14], eax
jmp 0x40542e
shr edx, 8
add edi, 8
and edx, 0x7f
and edx, dword [eax*4 + 0x468d40]
movzx eax, word [ecx + 2]
add eax, edx
lea ecx, [ecx + eax*4]
movzx eax, byte [ecx]
jmp 0x405c69
cmp esi, 3
mov dword [ebx + 0x10c], esi
ja 0x405e18
mov edx, dword [ebx + 0x48]
mov ecx, esi
mov eax, 1
sar eax, cl
sub esi, 3
mov ecx, eax
mov dword [ebx + 0xb4], eax
mov eax, edx
sub edx, ecx
sub eax, esi
and eax, 3
mov eax, dword [ebx + eax*4 + 0x4c]
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x10c], eax
jmp 0x4056de
mov ebx, edi
mov edx, dword [esp + 0x2c]
mov eax, 2
jmp 0x405346
mov eax, 0xffffffe1
jmp 0x405350
mov edx, dword [esp + 0x30]
jmp 0x405413
mov eax, dword [esp + 0x28]
add eax, dword [ebx + 0x60]
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, esi
jmp 0x40579c
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, ebp
shr eax, cl
add ebp, esi
and eax, dword [esi*4 + 0x468d60]
mov dword [ebx + 0xc], ebp
jmp 0x405439
mov eax, 0xffffffed
jmp 0x405350
cmp esi, 9
jbe 0x405edd
sub esi, 0xa
mov eax, 2
add eax, dword [ebx + 0x48]
shl esi, 2
mov edx, 0x605142
mov ecx, esi
sar edx, cl
and edx, 0xf
and eax, 3
mov eax, dword [ebx + eax*4 + 0x4c]
lea eax, [edx + eax - 3]
test eax, eax
jle 0x405f2a
mov dword [ebx + 0x10c], eax
jmp 0x4056de
mov esi, dword [esp + 0x48]
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x38]
and eax, dword [ecx*4 + 0x468d60]
add edi, ecx
mov dword [ebx + 0xc], edi
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0xf0]
mov eax, dword [esp + 0x38]
shl eax, cl
add eax, dword [ebx + esi*4 + 0x490]
jmp 0x405e4e
mov eax, ebx
call fcn.00404f10
test eax, eax
je 0x40542e
jmp 0x405b8e
cmp dword [esp + 0x2c], 0x20
jg 0x405f6c
mov eax, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x28], ecx
jmp 0x405a6f
mov edx, dword [esp + 0x34]
jmp 0x405c2f
sub esi, 4
mov eax, 3
jmp 0x405e29
mov eax, 0xfffffff4
jmp 0x405350
mov eax, 0xfffffff0
jmp 0x405350
mov dword [ebx], 0xe
xor edx, edx
mov eax, 1
jmp 0x405346
mov eax, 0xfffffff5
jmp 0x405350
mov eax, dword [ebx + 8]
jmp 0x405939
mov eax, dword [ebx + 8]
jmp 0x405df5
mov dword [ebx + 0x10c], 0x7fffffff
mov eax, 0x7fffffff
jmp 0x4056de
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.00401ac0
test eax, eax
jne 0x405fad
mov eax, dword [ebx + 0xc8]
mov dword [esp + 0x44], eax
jmp 0x405d1c
mov eax, dword [esp + 0x2c]
add ecx, 0x10
add edx, 0x10
mov dword [esp], ecx
mov dword [esp + 4], edx
sub eax, 0x10
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x28], ecx
jmp 0x405a6f
mov eax, dword [ebx + 8]
jmp 0x405e5d
mov eax, dword [esp + 0x5c]
jmp 0x4055b4
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x38], eax
jmp 0x405e75