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

Disassembly:
sub esp, 0x5e0
mov eax, dword [0x4767b0]
xor eax, esp
mov dword [esp + 0x5dc], eax
mov eax, dword [esp + 0x5e4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [esp + 0x10], eax
mov ebp, 9
mov ebx, 0x1d
mov edx, 0x15
mov ecx, 0xd
mov eax, 5
mov dword [esp + 0x1d4], 0x3a
mov dword [esp + 0x1d8], 0x32
mov dword [esp + 0x1dc], 0x2a
mov dword [esp + 0x1e0], 0x22
mov dword [esp + 0x1e4], 0x1a
mov dword [esp + 0x1e8], 0x12
mov dword [esp + 0x1ec], 0xa
mov dword [esp + 0x1f0], 2
mov dword [esp + 0x1f4], 0x3c
mov dword [esp + 0x1f8], 0x34
mov dword [esp + 0x1fc], 0x2c
mov dword [esp + 0x200], 0x24
mov dword [esp + 0x204], 0x1c
mov dword [esp + 0x208], 0x14
mov dword [esp + 0x20c], 0xc
mov dword [esp + 0x210], 4
mov dword [esp + 0x214], 0x3e
mov dword [esp + 0x218], 0x36
mov dword [esp + 0x21c], 0x2e
mov dword [esp + 0x220], 0x26
mov dword [esp + 0x224], 0x1e
mov dword [esp + 0x228], 0x16
mov dword [esp + 0x22c], 0xe
mov dword [esp + 0x230], 6
mov dword [esp + 0x234], 0x40
mov dword [esp + 0x238], 0x38
mov dword [esp + 0x23c], 0x30
mov dword [esp + 0x240], 0x28
mov dword [esp + 0x244], 0x20
mov dword [esp + 0x248], 0x18
mov dword [esp + 0x24c], 0x10
mov dword [esp + 0x250], 8
mov dword [esp + 0x254], 0x39
mov dword [esp + 0x258], 0x31
mov dword [esp + 0x25c], 0x29
mov dword [esp + 0x260], 0x21
mov dword [esp + 0x264], 0x19
mov dword [esp + 0x268], 0x11
mov dword [esp + 0x26c], ebp
mov dword [esp + 0x270], 1
mov dword [esp + 0x274], 0x3b
mov dword [esp + 0x278], 0x33
mov dword [esp + 0x27c], 0x2b
mov dword [esp + 0x280], 0x23
mov dword [esp + 0x284], 0x1b
mov dword [esp + 0x288], 0x13
mov dword [esp + 0x28c], 0xb
mov dword [esp + 0x290], 3
mov dword [esp + 0x294], 0x3d
mov dword [esp + 0x298], 0x35
mov dword [esp + 0x29c], 0x2d
mov dword [esp + 0x2a0], 0x25
mov dword [esp + 0x2a4], ebx
mov dword [esp + 0x2a8], edx
mov dword [esp + 0x2ac], ecx
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], 0x3f
mov dword [esp + 0x2b8], 0x37
mov dword [esp + 0x2bc], 0x2f
mov dword [esp + 0x2c0], 0x27
mov dword [esp + 0x2c4], 0x1f
mov dword [esp + 0x2c8], 0x17
mov dword [esp + 0x2cc], 0xf
mov dword [esp + 0x2d0], 7
mov dword [esp + 0xd4], 0x28
mov dword [esp + 0xd8], 8
mov dword [esp + 0xdc], 0x30
mov dword [esp + 0xe0], 0x10
mov dword [esp + 0x138], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, 0xc
mov dword [esp + 0xe4], 0x38
mov dword [esp + 0xe8], 0x18
mov dword [esp + 0xec], 0x40
mov dword [esp + 0xf0], 0x20
mov dword [esp + 0xf4], 0x27
mov dword [esp + 0xf8], 7
mov dword [esp + 0xfc], 0x2f
mov dword [esp + 0x100], 0xf
mov dword [esp + 0x104], 0x37
mov dword [esp + 0x108], 0x17
mov dword [esp + 0x10c], 0x3f
mov dword [esp + 0x110], 0x1f
mov dword [esp + 0x114], 0x26
mov dword [esp + 0x118], 6
mov dword [esp + 0x11c], 0x2e
mov dword [esp + 0x120], 0xe
mov dword [esp + 0x124], 0x36
mov dword [esp + 0x128], 0x16
mov dword [esp + 0x12c], 0x3e
mov dword [esp + 0x130], 0x1e
mov dword [esp + 0x134], 0x25
mov dword [esp + 0x13c], 0x2d
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], 0x35
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], 0x3d
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], 0x24
mov dword [esp + 0x158], 4
mov dword [esp + 0x15c], 0x2c
mov dword [esp + 0x160], 0xc
mov dword [esp + 0x164], 0x34
mov dword [esp + 0x168], 0x14
mov dword [esp + 0x16c], 0x3c
mov dword [esp + 0x170], 0x1c
mov dword [esp + 0x174], 0x23
mov dword [esp + 0x178], 3
mov dword [esp + 0x17c], 0x2b
mov dword [esp + 0x180], 0xb
mov dword [esp + 0x184], 0x33
mov dword [esp + 0x188], 0x13
mov dword [esp + 0x18c], 0x3b
mov dword [esp + 0x190], 0x1b
mov dword [esp + 0x194], 0x22
mov dword [esp + 0x198], 2
mov dword [esp + 0x19c], 0x2a
mov dword [esp + 0x1a0], 0xa
mov dword [esp + 0x1a4], 0x32
mov dword [esp + 0x1a8], 0x12
mov dword [esp + 0x1ac], 0x3a
mov dword [esp + 0x1b0], 0x1a
mov dword [esp + 0x1b4], 0x21
mov dword [esp + 0x1b8], 1
mov dword [esp + 0x1bc], 0x29
mov dword [esp + 0x1c0], ebp
mov dword [esp + 0x1c4], 0x31
mov dword [esp + 0x1c8], 0x11
mov dword [esp + 0x1cc], 0x39
mov dword [esp + 0x1d0], 0x19
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 4
mov dword [esp + 0x2c], 4
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 7
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x50], 0xb
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov eax, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov ecx, 0x11
mov eax, 0x14
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov ecx, 0x19
mov eax, 0x18
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc0], ebx
xor ebx, ebx
push 0x3f
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov eax, 0x1c
lea ecx, [esp + 0x429]
push ebx
push ecx
mov dword [esp + 0x70], 0xe
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x88], 0x12
mov dword [esp + 0x8c], 0x13
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0x16
mov dword [esp + 0xa4], 0x17
mov dword [esp + 0xb8], 0x1a
mov dword [esp + 0xbc], 0x1b
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], 0x1e
mov dword [esp + 0xd4], 0x1f
mov dword [esp + 0xd8], 0x20
mov dword [esp + 0xdc], 1
mov byte [esp + 0x2e0], bl
mov dword [esp + 0x2e1], ebx
mov word [esp + 0x2e5], bx
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x430], bl
call fcn.00444200
push 0x3f
lea edx, [esp + 0x475]
push ebx
push edx
mov byte [esp + 0x47c], bl
call fcn.00444200
push 0x7f
lea eax, [esp + 0x589]
push ebx
push eax
mov byte [esp + 0x590], bl
call fcn.00444200
push 0x87
lea ecx, [esp + 0x50d]
push ebx
push ecx
mov byte [esp + 0x514], bl
call fcn.00444200
push 0x87
lea edx, [esp + 0x311]
push ebx
push edx
mov byte [esp + 0x318], bl
call fcn.00444200
push 0x3f
lea eax, [esp + 0x425]
push ebx
push eax
mov byte [esp + 0x42c], bl
call fcn.00444200
add esp, 0x48
push 0x3f
mov byte [esp + 0x4a8], bl
push ebx
lea ecx, [esp + 0x4ad]
push ecx
call fcn.00444200
push 0x3f
lea edx, [esp + 0x3b5]
push ebx
push edx
mov byte [esp + 0x3bc], bl
call fcn.00444200
push 0x3f
lea eax, [esp + 0x381]
push ebx
push eax
mov byte [esp + 0x388], bl
call fcn.00444200
lea ecx, [esp + 0x590]
push ecx
mov ecx, edi
call fcn.00407440
add esp, 0x28
lea edi, [esp + 0x424]
call fcn.004073d0
xor eax, eax
mov edx, dword [esp + eax*4 + 0x1d4]
movzx ecx, byte [esp + edx + 0x423]
mov edx, dword [esp + eax*4 + 0x1d8]
mov byte [esp + eax + 0x464], cl
movzx ecx, byte [esp + edx + 0x423]
mov edx, dword [esp + eax*4 + 0x1dc]
mov byte [esp + eax + 0x465], cl
movzx ecx, byte [esp + edx + 0x423]
mov edx, dword [esp + eax*4 + 0x1e0]
mov byte [esp + eax + 0x466], cl
movzx ecx, byte [esp + edx + 0x423]
mov byte [esp + eax + 0x467], cl
add eax, 4
cmp eax, 0x40
jl 0x408301
lea edi, [esp + 0x2d4]
lea ecx, [esp + 0x464]
call fcn.00407300
mov edx, dword [esp + 0x2d8]
mov eax, dword [esp + 0x2d4]
mov dword [esp + 0x2dc], edx
mov dword [esp + 0x4e4], eax
xor ebp, ebp
jmp 0x4083a0
movzx ecx, byte [esp + ebp + 0x2dc]
mov dl, byte [esp + ebp + 0x2dd]
mov al, byte [esp + ebp + 0x2de]
lea esi, [esp + ebp + 0x2dc]
mov byte [esp + ebp + 0x4ec], cl
movzx ecx, byte [esp + ebp + 0x2df]
lea edi, [esp + 0x3a4]
mov byte [esp + ebp + 0x4ed], dl
mov byte [esp + ebp + 0x4ee], al
mov byte [esp + ebp + 0x4ef], cl
call fcn.004073d0
xor eax, eax
nop
mov edx, dword [esp + eax*4 + 0x14]
movzx ecx, byte [esp + edx + 0x3a3]
mov edx, dword [esp + eax*4 + 0x18]
mov byte [esp + eax + 0x364], cl
movzx ecx, byte [esp + edx + 0x3a3]
mov edx, dword [esp + eax*4 + 0x1c]
mov byte [esp + eax + 0x365], cl
movzx ecx, byte [esp + edx + 0x3a3]
mov edx, dword [esp + eax*4 + 0x20]
mov byte [esp + eax + 0x366], cl
movzx ecx, byte [esp + edx + 0x3a3]
mov edx, dword [esp + eax*4 + 0x24]
mov byte [esp + eax + 0x367], cl
movzx ecx, byte [esp + edx + 0x3a3]
mov edx, dword [esp + eax*4 + 0x28]
mov byte [esp + eax + 0x368], cl
movzx ecx, byte [esp + edx + 0x3a3]
mov byte [esp + eax + 0x369], cl
add eax, 6
cmp eax, 0x30
jl 0x4083f0
mov edi, esi
lea ecx, [esp + 0x364]
call fcn.00407300
movzx edx, byte [esp + ebp + 0x56c]
movzx eax, byte [esp + ebp + 0x56d]
movzx ecx, byte [esp + ebp + 0x56e]
xor byte [esi], dl
xor byte [esp + ebp + 0x2dd], al
xor byte [esp + ebp + 0x2de], cl
movzx edx, byte [esp + ebp + 0x56f]
movzx eax, byte [esp + ebp + 0x570]
movzx ecx, byte [esp + ebp + 0x571]
xor byte [esp + ebp + 0x2df], dl
xor byte [esp + ebp + 0x2e0], al
xor byte [esp + ebp + 0x2e1], cl
push esi
call fcn.00409150
movzx edx, byte [esp + ebp + 0x4e8]
xor dl, byte [esi]
movzx eax, byte [esp + ebp + 0x4e9]
movzx ecx, byte [esp + ebp + 0x4ea]
xor al, byte [esp + ebp + 0x2e1]
xor cl, byte [esp + ebp + 0x2e2]
mov byte [esp + ebp + 0x2e8], dl
movzx edx, byte [esp + ebp + 0x4eb]
xor dl, byte [esp + ebp + 0x2e3]
mov byte [esp + ebp + 0x2e9], al
mov byte [esp + ebp + 0x2ea], cl
mov byte [esp + ebp + 0x2eb], dl
add ebp, 8
add esp, 4
cmp ebp, 0x78
jle 0x4083a0
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x35c]
lea ebp, [esp + 0x564]
sub edi, ecx
mov eax, ecx
sub ebp, ecx
mov esi, 4
movzx edx, byte [edi + eax]
mov byte [eax], dl
movzx edx, byte [eax + ebp]
mov byte [eax + 4], dl
inc eax
sub esi, 1
jne 0x408552
lea edi, [esp + 0x3e4]
mov esi, ecx
call fcn.004073d0
jmp 0x408580
mov eax, dword [esp + ebx*4 + 0xd4]
movzx ecx, byte [esp + eax + 0x3e3]
mov edx, dword [esp + ebx*4 + 0xd8]
mov al, byte [esp + edx + 0x3e3]
mov byte [esp + ebx + 0x4a4], cl
mov ecx, dword [esp + ebx*4 + 0xdc]
mov dl, byte [esp + ecx + 0x3e3]
mov byte [esp + ebx + 0x4a5], al
mov eax, dword [esp + ebx*4 + 0xe0]
movzx ecx, byte [esp + eax + 0x3e3]
mov byte [esp + ebx + 0x4a6], dl
mov byte [esp + ebx + 0x4a7], cl
add ebx, 4
cmp ebx, 0x40
jl 0x408580
mov edi, esi
lea ecx, [esp + 0x4a4]
call fcn.00407300
mov ecx, dword [esp + 0x5ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004422a2
add esp, 0x5e0
ret