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

Disassembly:
sub esp, 0x11c
push ebx
push ebp
mov eax, 4
push esi
push edi
mov dword [esp + 0x98], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x120], eax
mov eax, dword [ecx + 0x10c]
mov edx, 2
mov ebx, 8
mov edi, 0x50
mov esi, 0xa0
mov dword [esp + 0x94], edx
mov dword [esp + 0xd8], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x10
mov dword [esp + 0x58], 0x1e
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0x78
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0x78
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0x3c
mov dword [esp + 0x7c], 0x1e
mov dword [esp + 0x80], 0x10
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], 1
mov dword [esp + 0xe0], edx
mov dword [esp + 0x124], edx
mov edx, dword [esp + eax*4 + 0x48]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
mov ebp, 0x28
mov edi, 0x64
mov esi, 0xc8
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 0x9c]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], edi
mov dword [esp + 0x110], ebp
xor ebp, ebp
xor esi, esi
xor edi, edi
cmp edx, 0x280
mov dword [esp + 0x28], 0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 0x10
mov dword [esp + 0xa4], 0x14
mov dword [esp + 0xa8], 0x20
mov dword [esp + 0xc4], 0x20
mov dword [esp + 0xc8], 0x14
mov dword [esp + 0xcc], 0x10
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], 0x14
mov dword [esp + 0xf0], 0x19
mov dword [esp + 0xf8], 0x32
mov dword [esp + 0x10c], 0x32
mov dword [esp + 0x114], 0x19
mov dword [esp + 0x118], 0x14
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x128], 1
mov dword [esp + 0x1c], ebp
jne 0x41eb98
mov esi, dword [esp + eax*4 + 0x94]
cmp edx, 0x320
jne 0x41eba7
mov esi, dword [esp + eax*4 + 0xe0]
mov ebx, esi
imul ebx, esi
cmp eax, 8
mov dword [esp + 0x24], ebx
jg 0x41ebc4
mov eax, dword [ecx + 0x100]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x30], eax
jmp 0x41ebd1
mov eax, dword [ecx + 0xfc]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x30], eax
cmp esi, 1
je 0x41eda3
xor eax, eax
mov dword [esp + 0x18], 0
cmp dword [ecx + 0xa0], eax
jle 0x41edf3
test edx, edx
mov dword [esp + 0x14], 0
jle 0x41ed8b
test esi, esi
jle 0x41ec75
lea eax, [edx + edx*2]
imul edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
lea eax, [eax + edx*2]
lea edx, [edx + eax + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], esi
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov al, byte [edx - 1]
add edx, 3
add edi, eax
xor eax, eax
mov al, byte [edx - 3]
add ebp, eax
xor eax, eax
mov al, byte [edx - 2]
add ebx, eax
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
jne 0x41ec2d
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add edx, ebx
dec eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], eax
jne 0x41ec29
mov ebx, dword [esp + 0x24]
mov eax, edi
mov edi, dword [esp + 0x130]
cdq
idiv ebx
mov byte [esp + 0x40], al
mov eax, ebp
cdq
idiv ebx
mov ebp, edi
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
cdq
idiv ebx
mov ebx, dword [esp + 0x3c]
mov edx, edi
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x40]
and eax, 0xff
sub edx, eax
shl edx, 8
add edx, ebx
shl eax, 8
mov edx, dword [ecx + edx*4 + 0x40ba4]
add edx, eax
mov eax, dword [esp + 0x20]
and eax, 0xff
sub ebp, eax
shl ebp, 8
add ebp, ebx
shl eax, 8
mov ebx, dword [ecx + ebp*4 + 0x40ba4]
mov ebp, dword [esp + 0x3c]
add ebx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xff
sub edi, eax
shl edi, 8
sar ebx, 8
add edi, ebp
mov byte [esp + 0x20], bl
shl eax, 8
mov ebx, dword [ecx + edi*4 + 0x40ba4]
add ebx, eax
xor eax, eax
sar edx, 8
sar ebx, 8
test esi, esi
mov byte [esp + 0x2c], bl
mov dword [esp + 0x10], eax
jle 0x41ed5c
mov edi, dword [esp + 0x18]
add eax, edi
mov edi, dword [esp + 0x14]
imul eax, dword [ecx + 0x9c]
add eax, edi
mov edi, esi
lea eax, [eax + eax*2]
mov ebx, dword [ecx + 0x68]
add eax, 3
dec edi
mov byte [ebx + eax - 3], dl
mov ebp, dword [ecx + 0x68]
mov bl, byte [esp + 0x20]
mov byte [eax + ebp - 2], bl
mov ebp, dword [ecx + 0x68]
mov bl, byte [esp + 0x2c]
mov byte [eax + ebp - 1], bl
jne 0x41ed2c
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x41ed14
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
add edx, 3
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x9c]
add eax, esi
xor edi, edi
xor ebp, ebp
cmp eax, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
jl 0x41ec00
mov eax, dword [esp + 0x18]
add eax, esi
cmp eax, dword [ecx + 0xa0]
mov dword [esp + 0x18], eax
jl 0x41ebf0
jmp 0x41edf1
mov esi, dword [ecx + 0xa0]
xor ebp, ebp
test esi, esi
jle 0x41edf1
mov esi, dword [esp + 0x28]
xor edi, edi
test edx, edx
jle 0x41ede6
mov edx, dword [ecx + 0x68]
mov bl, byte [eax + esi]
inc edi
mov byte [edx + esi], bl
mov edx, dword [ecx + 0x68]
mov bl, byte [eax + esi + 1]
mov byte [edx + esi + 1], bl
mov edx, dword [ecx + 0x68]
mov bl, byte [eax + esi + 2]
mov byte [edx + esi + 2], bl
mov edx, dword [ecx + 0x9c]
add esi, 3
cmp edi, edx
jl 0x41edb9
mov edi, dword [ecx + 0xa0]
inc ebp
cmp ebp, edi
jl 0x41edb3
xor eax, eax
mov edi, dword [ecx + 0x10c]
mov esi, dword [ecx + 0x110]
inc edi
mov edx, edi
mov dword [ecx + 0x10c], edi
pop edi
cmp edx, esi
pop esi
pop ebp
pop ebx
jne 0x41ee58
mov dword [ecx + 0xf4], eax
mov dword [ecx + 0xafc], eax
mov dword [ecx + 0xb00], eax
mov dword [ecx + 0xb04], eax
mov dword [ecx + 0xb08], eax
mov dword [ecx + 0xb0c], eax
mov dword [ecx + 0xb10], eax
mov dword [ecx + 0xb14], eax
mov dword [ecx + 0xb18], eax
mov dword [ecx + 0xb1c], eax
mov dword [ecx + 0xb20], eax
mov dword [ecx + 0xb24], eax
add esp, 0x11c
ret 4