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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0xa0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
xor edx, edx
xor edi, edi
xor ebx, ebx
test eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
jne 0x41e170
mov eax, dword [esp + 0xa4]
mov esi, eax
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
lea ebp, [esi + 0x38]
mov ecx, dword [esi + 0x5c]
push ebp
push 0x30
push 3
mov eax, dword [esi + 0x28]
push 0
push 0
push 0x80
mov edi, dword [0x4730d4]
push 0
push 0
push 0
push ecx
push 0
push 0
push 0
push eax
mov dword [esp + 0x70], eax
call edi
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x41e1da
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x40]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
mov edx, dword [esi + 0x5c]
push ebp
push 0x30
push 3
mov ebx, dword [esi + 0x2c]
push 0
push 0
push 0x80
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push ebx
mov dword [esp + 0x64], ebx
call edi
test eax, eax
mov dword [esp + 0x50], eax
jne 0x41e21a
mov eax, dword [esp + 0x3c]
push eax
call dword [0x4730d0]
jmp 0x41e7f9
mov edi, dword [esp + 0xb0]
mov edx, dword [esi + 0x30]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x38]
xor edi, edi
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x30], eax
mov eax, ebx
shr eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6c]
not ecx
add ebx, edx
dec ecx
shr eax, 3
mov dword [esp + 0x1c], ebx
xor ebx, ebx
and al, 1
mov dword [esp + 0x28], ecx
test ecx, ecx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x13], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x26], al
jle 0x41e7e5
mov eax, dword [esp + 0xb0]
add eax, ebp
cmp byte [eax], 0
je 0x41e7e5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0xa8]
sub ecx, eax
lea eax, [edx + edx]
mov edx, dword [esp + 0x14]
add eax, edx
cmp ecx, eax
jle 0x41e2f7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + edx*4]
cmp eax, ecx
jg 0x41e327
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xb0]
sub edx, ebp
add eax, ebp
push edx
push eax
push 1
call fcn.0041aea0
add esp, 0xc
test al, al
jne 0x41e327
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x38]
add ecx, eax
add edx, ecx
mov dword [esp + 0x1c], edx
mov dl, byte [esp + 0x13]
neg dl
sbb edx, edx
and edx, eax
mov eax, dword [esp + 0xa8]
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esi + 0x20]
cmp ecx, eax
mov dword [esp + 0x5c], eax
jle 0x41e7e5
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xb0]
sub eax, ebp
mov dword [esp + 0x54], eax
push eax
lea eax, [edx + ebp]
push eax
call fcn.0041adf0
add esp, 8
cmp eax, 4
ja case.0x41e367.3
jmp dword [eax*4 + 0x41e82c]
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x38]
push 0
add ecx, eax
add edx, ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x20], edx
mov dl, byte [esp + 0x17]
neg dl
sbb edx, edx
and edx, eax
add edx, ecx
mov dword [esp + 0x18], edx
call fcn.0041ae70
add esp, 4
add ebp, eax
jmp 0x41e7db
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
sub ebx, ecx
mov byte [esp + 0x27], 1
mov dword [esp + 0x34], 0
inc ebp
jmp 0x41e7db
mov al, byte [esp + 0x27]
test al, al
je case.0x41e367.3
mov eax, dword [esp + 0xb0]
inc ebp
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x28]
cmp ebp, eax
mov dword [esp + 0x18], ecx
jge 0x41e439
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x28]
sub ecx, ebp
lea eax, [edx + ebp]
push ecx
push eax
call fcn.0041adf0
add esp, 8
cmp eax, 3
je 0x41e439
mov eax, dword [esp + 0xb0]
xor edx, edx
add eax, ebp
mov dl, byte [eax]
mov eax, dword [esp + 0x28]
mov cl, byte [edx + 0x493721]
and cl, 4
neg cl
sbb ecx, ecx
neg ecx
inc ecx
add ebp, ecx
cmp ebp, eax
jl 0x41e3f3
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov eax, ebp
sub eax, edx
add eax, ecx
inc ebp
test eax, eax
mov dword [esp + 0x54], eax
je case.0x41e367.3
imul eax, dword [esp + 0x58]
cdq
sub eax, edx
mov dword [esp + 0x20], 0
mov ecx, eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
add edi, eax
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x41e7db
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0xa8]
sub ecx, eax
mov eax, dword [esp + 0x38]
lea edx, [edi + eax*2]
cmp ecx, edx
jg 0x41e4d0
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0xa8]
neg cl
sbb ecx, ecx
and ecx, eax
add ecx, edx
mov edx, dword [esi + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x2c]
add edx, ecx
add edx, eax
add ebx, edx
jmp 0x41e5e0
mov al, byte [esp + 0x26]
test al, al
je 0x41e517
push 0
push ecx
lea eax, [esi + 0x60]
mov ecx, esp
push eax
call fcn.00420370
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push ebx
push edi
mov ecx, esi
call fcn.0041f450
test al, al
jne 0x41e538
push 0
push ecx
lea eax, [esi + 0x60]
mov ecx, esp
push eax
call fcn.00420370
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push edx
push eax
jmp 0x41e52f
push 0
push ecx
lea edx, [esi + 0x60]
mov ecx, esp
push edx
call fcn.00420370
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push ebx
push edi
mov ecx, esi
call fcn.0041f410
mov eax, dword [esp + 0x18]
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x493721], 4
je 0x41e59c
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x80], edi
add edi, ecx
lea eax, [ebx + edx]
lea ecx, [esp + 0x80]
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
call dword [0x47348c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], edi
add edi, ecx
lea eax, [ebx + edx]
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
call dword [0x47348c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jl 0x41e48c
jmp 0x41e7db
cmp ebp, dword [esp + 0x28]
jge 0x41e7e5
mov edx, dword [esp + 0xb0]
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0041adf0
add esp, 8
cmp eax, 5
je 0x41e64d
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
inc ebp
dec edx
inc ecx
cmp ebp, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
jge 0x41e7e5
jmp 0x41e615
cmp ebp, dword [esp + 0x28]
jge 0x41e7e5
inc ebp
jmp 0x41e7db
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x41e69f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xb0]
sub ecx, ebp
lea eax, [edx + ebp]
push ecx
push eax
push 0
call fcn.0041aea0
add esp, 0xc
test al, al
jne 0x41e69f
mov ecx, dword [esp + 0x30]
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x41e6a4
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x26]
test al, al
je 0x41e6ea
push 0
push ecx
lea eax, [esi + 0x60]
mov ecx, esp
push eax
call fcn.00420370
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x24]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041f450
test al, al
jne 0x41e718
push 0
push ecx
lea eax, [esi + 0x60]
mov ecx, esp
push eax
jmp 0x41e6f3
push 0
push ecx
lea edx, [esi + 0x60]
mov ecx, esp
push edx
call fcn.00420370
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
add eax, ebp
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041f410
mov edx, dword [esp + 0xb0]
xor ecx, ecx
mov cl, byte [edx + ebp]
lea eax, [edx + ebp]
test byte [ecx + 0x493721], 4
mov eax, dword [esp + 0x14]
je 0x41e77e
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
add eax, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call dword [0x47348c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc ebp
add edx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
add eax, ecx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x9c], edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call dword [0x47348c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
inc ebp
add eax, ecx
mov dword [esp + 0x34], eax
cmp ebp, dword [esp + 0x28]
jl 0x41e284
mov edx, dword [esp + 0x3c]
mov esi, dword [0x4730d0]
push edx
call esi
mov eax, dword [esp + 0x50]
push eax
call esi
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x40]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], edx
add esp, 0x90
ret 0x10