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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 8], 0
test dword [esi + 8], 0x80000
je 0x41cba0
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 4], 1
cmp eax, dword [esi + 0x24]
jbe 0x41cba7
mov dword [ebp - 4], 0
cmp dword [esi], 0
jne 0x41cbc7
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x41cbc7
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x41cbcd
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
mov dword [esi + 0x30], eax
mov dword [ebp - 0x10], eax
add eax, 0x14cbc
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x41cc7e
cmp dword [esi + 0x64], 0
jne 0x41cc7e
mov ecx, dword [esi + 0x44]
mov eax, 0x78
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cc42
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cc34
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cc24
mov ecx, dword [esi + 0x44]
mov eax, 1
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cc7e
lea ebx, [ebx]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cc70
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cc60
mov ecx, dword [esi + 0x44]
xor eax, eax
cmp edx, 4
sete al
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41ccbe
lea esp, [esp]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41ccb0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cca0
cmp dword [ebp - 4], 0
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x44]
mov dword [ebp - 0xc], edx
jne 0x41cd15
test dword [esi + 8], 0x40000
jne 0x41cce8
cmp dword [esi + 0x3c], 0x30
jb 0x41cce8
mov ecx, esi
call fcn.0041c1c0
jmp 0x41ccef
mov ecx, esi
call fcn.0041c810
mov ecx, esi
call fcn.0041c930
mov edx, dword [esi + 0x3c]
mov dword [ebp - 8], eax
test edx, edx
je 0x41ce2e
mov ecx, dword [esi + 0x30]
sub ecx, edi
inc ecx
cmp ecx, edx
jb 0x41ce2e
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x41ce2b
xor eax, eax
mov dword [esi + 0x30], edi
mov ecx, ebx
shl eax, cl
or eax, edx
mov dword [esi + 0x48], eax
lea eax, [ebx + 2]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cd5e
lea ecx, [ecx]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cd50
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cd40
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41cd91
xor eax, eax
mov dword [esi + 0x44], 8
shl eax, cl
or dword [esi + 0x48], eax
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cd83
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cd73
mov edx, 2
mov ecx, dword [esi + 0x44]
movzx eax, word [esi + 0x3c]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cdce
lea ecx, [ecx]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cdc0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cdb0
xor dword [esi + 0x3c], 0xffff
dec edx
jne 0x41cd96
cmp dword [esi + 0x3c], edx
jbe 0x41ce4c
lea ecx, [ecx]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41ce23
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41ce15
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41ce05
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x41cde0
jmp 0x41ce4c
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41ce4c
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ebx
call fcn.0041c810
mov ecx, esi
call fcn.0041c930
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41cf97
mov ecx, dword [esi + 0x44]
cmp eax, 4
jne 0x41cee9
test ecx, ecx
je 0x41ce93
xor eax, eax
mov dword [esi + 0x44], 8
shl eax, cl
or dword [esi + 0x48], eax
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41ce85
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41ce75
test dword [esi + 8], 0x1000
je 0x41cf97
mov edx, dword [esi + 0x18]
mov edi, 4
mov ecx, dword [esi + 0x44]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cede
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41ced0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cec0
shl edx, 8
dec edi
jne 0x41cea8
jmp 0x41cf97
xor eax, eax
xor edi, edi
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 3]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cf1e
lea ecx, [ecx]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cf10
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cf00
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41cf51
xor eax, eax
mov dword [esi + 0x44], 8
shl eax, cl
or dword [esi + 0x48], eax
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cf43
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cf33
mov edx, 2
mov ecx, dword [esi + 0x44]
movzx eax, di
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x41cf8e
lea esp, [esp]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x41cf80
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x41cf70
xor edi, 0xffff
dec edx
jne 0x41cf56
push 0x240
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.0042ea00
push 0x40
lea eax, [esi + 0x83d2]
push 0
push eax
call fcn.0042ea00
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0x18
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub ebx, eax
je 0x41d079
cmp dword [esi], 0
je 0x41d02e
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push ebx
push eax
mov eax, dword [esi]
call eax
add esp, 0xc
test eax, eax
jne 0x41d079
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x41d073
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov edi, dword [eax]
mov eax, dword [esi + 0x74]
sub edi, ecx
cmp ebx, edi
cmovb edi, ebx
add eax, ecx
push edi
push edx
push eax
call fcn.0042c460
add dword [esi + 0x8c], edi
add esp, 0xc
sub ebx, edi
je 0x41d079
mov dword [esi + 0x58], edi
mov eax, ebx
pop edi
mov dword [esi + 0x5c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret