Function at 0x407440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6ac
mov eax, dword [0x4767b0]
xor eax, esp
mov dword [esp + 0x6a8], eax
mov eax, dword [esp + 0x6b0]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, 1
mov edi, 5
mov eax, 2
mov edx, 0x14
mov ecx, 0xc
xor ebp, ebp
mov dword [esp + 0xe0], 0x39
mov dword [esp + 0xe4], 0x31
mov dword [esp + 0xe8], 0x29
mov dword [esp + 0xec], 0x21
mov dword [esp + 0xf0], 0x19
mov dword [esp + 0xf4], 0x11
mov dword [esp + 0xf8], 9
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], 0x3a
mov dword [esp + 0x104], 0x32
mov dword [esp + 0x108], 0x2a
mov dword [esp + 0x10c], 0x22
mov dword [esp + 0x110], 0x1a
mov dword [esp + 0x114], 0x12
mov dword [esp + 0x118], 0xa
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], 0x3b
mov dword [esp + 0x124], 0x33
mov dword [esp + 0x128], 0x2b
mov dword [esp + 0x12c], 0x23
mov dword [esp + 0x130], 0x1b
mov dword [esp + 0x134], 0x13
mov dword [esp + 0x138], 0xb
mov dword [esp + 0x13c], 3
mov dword [esp + 0x140], 0x3c
mov dword [esp + 0x144], 0x34
mov dword [esp + 0x148], 0x2c
mov dword [esp + 0x14c], 0x24
mov dword [esp + 0x150], 0x3f
mov dword [esp + 0x154], 0x37
mov dword [esp + 0x158], 0x2f
mov dword [esp + 0x15c], 0x27
mov dword [esp + 0x160], 0x1f
mov dword [esp + 0x164], 0x17
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x16c], 7
mov dword [esp + 0x170], 0x3e
mov dword [esp + 0x174], 0x36
mov dword [esp + 0x178], 0x2e
mov dword [esp + 0x17c], 0x26
mov dword [esp + 0x180], 0x1e
mov dword [esp + 0x184], 0x16
mov dword [esp + 0x188], 0xe
mov dword [esp + 0x18c], 6
mov dword [esp + 0x190], 0x3d
mov dword [esp + 0x194], 0x35
mov dword [esp + 0x198], 0x2d
mov dword [esp + 0x19c], 0x25
mov dword [esp + 0x1a0], 0x1d
mov dword [esp + 0x1a4], 0x15
mov dword [esp + 0x1a8], 0xd
mov dword [esp + 0x1ac], edi
mov dword [esp + 0x1b0], 0x1c
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], 4
mov dword [esp + 0x20], 0xe
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x28], 0xb
mov dword [esp + 0x2c], 0x18
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x44], 6
mov dword [esp + 0x48], 0x15
mov dword [esp + 0x4c], 0xa
lea edi, [esp + 0x240]
mov dword [esp + 0x50], 0x17
mov dword [esp + 0x54], 0x13
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 4
mov dword [esp + 0x60], 0x1a
mov dword [esp + 0x64], 8
mov dword [esp + 0x68], 0x10
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], 0x1b
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0xd
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x29
mov dword [esp + 0x84], 0x34
mov dword [esp + 0x88], 0x1f
mov dword [esp + 0x8c], 0x25
mov dword [esp + 0x90], 0x2f
mov dword [esp + 0x94], 0x37
mov dword [esp + 0x98], 0x1e
mov dword [esp + 0x9c], 0x28
mov dword [esp + 0xa0], 0x33
mov dword [esp + 0xa4], 0x2d
mov dword [esp + 0xa8], 0x21
mov dword [esp + 0xac], 0x30
mov dword [esp + 0xb0], 0x2c
mov dword [esp + 0xb4], 0x31
mov dword [esp + 0xb8], 0x27
mov dword [esp + 0xbc], 0x38
mov dword [esp + 0xc0], 0x22
mov dword [esp + 0xc4], 0x35
mov dword [esp + 0xc8], 0x2e
mov dword [esp + 0xcc], 0x2a
mov dword [esp + 0xd0], 0x32
mov dword [esp + 0xd4], 0x24
mov dword [esp + 0xd8], 0x1d
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], ebx
call fcn.004073d0
xor eax, eax
jmp 0x407910
mov ecx, dword [esp + eax*4 + 0xe0]
movzx edx, byte [esp + ecx + 0x23f]
mov ecx, dword [esp + eax*4 + 0xe4]
mov byte [esp + eax + 0x200], dl
movzx edx, byte [esp + ecx + 0x23f]
mov ecx, dword [esp + eax*4 + 0xe8]
mov byte [esp + eax + 0x201], dl
movzx edx, byte [esp + ecx + 0x23f]
mov ecx, dword [esp + eax*4 + 0xec]
mov byte [esp + eax + 0x202], dl
movzx edx, byte [esp + ecx + 0x23f]
mov byte [esp + eax + 0x203], dl
add eax, 4
cmp eax, 0x38
jl 0x407910
xor eax, eax
mov cl, byte [esp + eax + 0x200]
mov byte [esp + eax + 0x280], cl
mov byte [esp + eax + 0x29c], cl
mov cl, byte [esp + eax + 0x21c]
mov byte [esp + eax + 0x240], cl
mov byte [esp + eax + 0x25c], cl
add eax, ebx
cmp eax, 0x1c
jl 0x407972
xor eax, eax
mov dword [esp + 0x10], eax
lea esi, [esp + 0x2b9]
add ebp, dword [esp + eax*4 + 0x1c0]
mov edi, 0x1c
mov ecx, ebp
neg ecx
lea edx, [esp + ecx + 0x200]
lea ecx, [esp + ecx + 0x21c]
mov eax, ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jmp 0x4079e0
movzx edx, byte [esp + eax + 0x280]
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax], dl
movzx edx, byte [esp + eax + 0x240]
mov ecx, dword [esp + 0x1c]
mov byte [ecx + eax], dl
add eax, ebx
sub edi, ebx
jne 0x4079e0
xor eax, eax
jmp 0x407a10
mov edx, dword [esp + eax*4 + 0x20]
movzx ecx, byte [esp + edx + 0x1ff]
mov edx, dword [esp + eax*4 + 0x24]
mov byte [esi + eax - 1], cl
movzx ecx, byte [esp + edx + 0x1ff]
mov edx, dword [esp + eax*4 + 0x28]
mov byte [esi + eax], cl
movzx ecx, byte [esp + edx + 0x1ff]
mov edx, dword [esp + eax*4 + 0x2c]
mov byte [esi + eax + 1], cl
movzx ecx, byte [esp + edx + 0x1ff]
mov edx, dword [esp + eax*4 + 0x30]
mov byte [esi + eax + 2], cl
movzx ecx, byte [esp + edx + 0x1ff]
mov edx, dword [esp + eax*4 + 0x34]
mov byte [esi + eax + 3], cl
movzx ecx, byte [esp + edx + 0x1ff]
mov byte [esi + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x407a10
mov eax, dword [esp + 0x10]
add eax, ebx
add esi, 0x40
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x4079b0
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x2b8]
mov ebp, 0x10
lea ecx, [ecx]
mov ecx, esi
call fcn.00407300
add edi, 8
add esi, 0x40
sub ebp, ebx
jne 0x407aa0
mov ecx, dword [esp + 0x6b8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004422a2
add esp, 0x6ac
ret