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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
push esi
push edi
test eax, eax
je 0x41e7d3
push eax
call dword [0x5636e0]
add esp, 4
mov edi, dword [ebx + 0x18]
call fcn.004144f0
mov eax, dword [ebx]
test eax, eax
je 0x41e7f2
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41e7f2
push eax
call dword [0x5636e0]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x41e807
cmp esi, 5
je 0x41e807
cmp esi, 6
jne 0x41f199
cmp dword [ebx], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 0
je 0x41e83f
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x41e83f
mov esi, 5
jmp 0x41e8e8
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x41e873
push 2
push ecx
call fcn.00416de0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e8e8
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
push ecx
push 1
mov dword [ebx + 0xc], 1
call fcn.0041ccc0
add esp, 8
mov eax, dword [ebx + 0x18]
cmp byte [eax + 8], 0
mov dword [esp + 0xc], eax
jne 0x41e8e8
mov edi, eax
mov esi, dword [edi + 4]
xor ebx, ebx
call fcn.004144f0
mov edx, edi
mov al, byte [edx + 8]
cmp al, 2
je 0x41e8b6
cmp al, 1
je 0x41e8b6
movzx ecx, word [esi + 0x16]
test cl, 0x40
je 0x41e9b8
mov eax, dword [esi + 0x4c]
cmp dword [eax], ebx
je 0x41e9b8
mov ebx, 0x106
mov edi, edx
cmp byte [edi + 9], 0
je 0x41e8db
dec dword [edi + 0xc]
jne 0x41e8db
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41e8d7
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x41e91c
cmp eax, 5
jne 0x41e91c
cmp edx, edi
je 0x41e91c
lea esi, [eax + 3]
mov ebx, dword [ecx + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x41e93c
cmp dword [esp + 0x1c], eax
jge 0x41eac6
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x10]
cmp edi, ebx
ja 0x41eac9
test esi, esi
jne 0x41eb0a
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x56368c]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x41e9a4
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push edi
lea ecx, [esi + 2]
call fcn.00410700
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e9a4
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
push esi
push eax
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.0041e610
push ebx
mov esi, eax
call fcn.00410a50
mov ebx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, 1
add dword [eax + 0x10], ecx
add dword [esp + 0x1c], ecx
jmp 0x41e92b
mov edi, edx
mov eax, dword [edi + 4]
cmp byte [edi + 9], bl
je 0x41e9f7
cmp dword [eax + 0x4c], edi
je 0x41e9d7
test byte [eax + 0x16], 0x20
je 0x41e9d7
mov ebx, 0x106
jmp 0x41e8b8
mov eax, dword [eax + 0x48]
test eax, eax
je 0x41e9f7
mov edi, edi
cmp dword [eax], edi
je 0x41e9f0
cmp dword [eax + 4], 1
jne 0x41e9f0
cmp byte [eax + 8], 1
jne 0x41e9cd
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x41e9e0
mov eax, ecx
xor ebx, ebx
and eax, 0xfff7
mov word [esi + 0x16], ax
cmp dword [esi + 0x2c], ebx
jne 0x41ea10
or eax, 8
mov word [esi + 0x16], ax
cmp dword [esi + 0xc], 0
jne 0x41ea25
mov eax, esi
call fcn.00416a20
mov ebx, eax
test ebx, ebx
je 0x41ea10
jmp 0x41ea29
test ebx, ebx
je 0x41ea49
cmp byte [esi + 0x14], 0
jne 0x41ea49
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41ea49
mov ecx, dword [eax + 0x44]
push ecx
call fcn.00410a50
add esp, 4
mov dword [esi + 0xc], 0
cmp bl, 5
jne 0x41ea86
cmp byte [esi + 0x14], 0
jne 0x41ea86
mov edi, dword [esi + 4]
add edi, 0x1b4
je 0x41ea86
mov ecx, dword [edi]
test ecx, ecx
je 0x41ea86
mov eax, dword [edi + 8]
test eax, eax
js 0x41ea86
mov edx, dword [edi + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x41ea7f
inc dword [edi + 8]
jmp 0x41ea10
mov dword [edi + 8], 0xffffffff
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x41e8b8
cmp byte [edi + 8], bl
jne 0x41eaaf
inc dword [esi + 0x28]
cmp byte [edi + 9], bl
je 0x41eaaf
mov byte [edi + 0x24], 1
mov eax, dword [esi + 0x48]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x28], eax
mov dword [esi + 0x48], ecx
mov byte [edi + 8], 1
cmp byte [esi + 0x14], 1
jae 0x41e8b8
mov byte [esi + 0x14], 1
jmp 0x41e8b8
mov ecx, dword [ebp + 8]
test esi, esi
jne 0x41eb0a
mov eax, dword [ecx + 0x10]
mov edx, ebx
sub edx, eax
inc edx
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x20], edx
cmp eax, ebx
ja 0x41eb13
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], esi
jne 0x41f016
mov ecx, eax
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov dword [ecx + 0x2c], edx
mov dword [eax + 0x58], ecx
mov dword [ecx + 0x28], 1
jmp 0x41f016
cmp esi, 0x65
jne 0x41f016
test ebx, ebx
jne 0x41eb66
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
call fcn.004144f0
mov ecx, dword [edi + 4]
mov dword [ecx + 0x2c], ebx
mov ebx, dword [edi + 4]
call fcn.00416d00
cmp byte [edi + 9], 0
mov esi, eax
je 0x41eb55
dec dword [edi + 0xc]
jne 0x41eb55
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41eb51
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
mov dword [esp + 0xc], 1
test esi, esi
je 0x41eb66
cmp esi, 0x65
jne 0x41ebd6
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
inc ebx
call fcn.004144f0
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
call fcn.00410e60
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x41ebad
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], cl
mov byte [esi + 0x2b], bl
cmp byte [edi + 9], 0
je 0x41ebd4
dec dword [edi + 0xc]
jne 0x41ebd4
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x41ebd0
push ecx
call dword [0x5636e8]
mov eax, dword [esp + 0x34]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, eax
test esi, esi
jne 0x41f016
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x41ebec
call fcn.0043a110
cmp dword [esp + 0x3c], 5
jne 0x41ec0b
mov eax, dword [edi + 4]
push 2
push eax
call fcn.0041e220
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f016
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp + 0x10]
jge 0x41ec46
mov eax, dword [esp + 0x10]
cdq
idiv ebx
mov edx, dword [esp + 0xc]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x56368c]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0x41ec54
dec edi
jmp 0x41ec54
mov eax, ebx
cdq
idiv dword [esp + 0x10]
mov edi, eax
imul edi, dword [esp + 0xc]
cmp ebx, dword [esp + 0x10]
jge 0x41ef31
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0xc]
mov ebx, edx
push ebx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
call fcn.004f1b60
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x3c]
ja 0x41ecee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [0x56368c]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x41ece7
lea edx, [esp + 0x1c]
push edx
push edi
xor ecx, ecx
mov eax, ebx
call fcn.00410700
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ece7
mov eax, dword [esp + 0x1c]
push eax
call fcn.00410e60
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
mov esi, eax
call fcn.00410a50
add esp, 4
inc edi
test esi, esi
je 0x41ec95
jmp 0x41ed01
test esi, esi
jne 0x41ed01
push 1
push esi
mov eax, ebx
call fcn.00411120
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x10]
mov edi, dword [0x56368c]
mov ecx, dword [esp + 0x44]
lea eax, [edi + edx]
cdq
cmp edx, ecx
jg 0x41ed25
jl 0x41ed1f
cmp eax, dword [esp + 0x40]
jae 0x41ed25
mov dword [esp + 0x14], edx
jmp 0x41ed2d
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [edi + ecx]
cdq
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
test esi, esi
jne 0x41f016
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x34], edx
jg 0x41eea6
jl 0x41ed6e
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], eax
jae 0x41eea6
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push edi
mov dword [esp + 0x30], 0
call fcn.004e8c20
inc eax
push eax
mov eax, dword [esp + 0x30]
xor ecx, ecx
call fcn.00410700
mov ebx, dword [esp + 0x24]
mov esi, eax
add esp, 8
test esi, esi
jne 0x41edce
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x24]
push edi
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov esi, eax
test ebx, ebx
je 0x41ee89
test byte [ebx + 0x18], 0x40
mov edi, dword [ebx + 0x10]
je 0x41ee27
dec dword [edi + 0x78]
mov ecx, dword [edi + 0x88]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x88], ebx
mov eax, dword [eax]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1b60
push edx
push eax
mov eax, dword [edi + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x41ee2e
mov eax, ebx
call fcn.0040b740
cmp dword [edi + 0x78], 0
jne 0x41ee89
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x41ee89
mov al, byte [edi + 0xf]
cmp al, 6
je 0x41ee82
test al, al
je 0x41ee82
cmp al, 2
jb 0x41ee6e
mov eax, dword [0x568374]
test eax, eax
je 0x41ee5a
call eax
mov eax, edi
call fcn.004112f0
mov eax, dword [0x568378]
test eax, eax
je 0x41ee82
call eax
jmp 0x41ee82
cmp byte [edi + 4], 0
jne 0x41ee82
push 0
push 0
mov ebx, edi
call fcn.0040dd30
add esp, 8
mov ebx, edi
call fcn.0040dbe0
mov ecx, dword [esp + 0x48]
add dword [esp + 0x30], ecx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x34], edx
test esi, esi
je 0x41ed50
jmp 0x41f016
test esi, esi
jne 0x41f016
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x41eeed
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x4c], ecx
jl 0x41eeed
jg 0x41eedc
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
jbe 0x41eeed
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push esi
call edx
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x41f016
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 7], al
jne 0x41ef12
movzx eax, byte [ecx + 0xb]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
jmp 0x41ef41
mov ecx, dword [ecx + 0x3c]
cmp dword [ecx], eax
je 0x41ef44
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 8
push ecx
call eax
add esp, 0xc
cmp eax, 0xc
jne 0x41ef44
xor eax, eax
jmp 0x41ef44
mov eax, dword [esp + 0x24]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.00411120
add esp, 8
mov esi, eax
test esi, esi
jne 0x41f016
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp byte [edi + 8], al
je 0x41f011
call fcn.004144f0
cmp byte [edi + 8], 2
jne 0x41efe9
mov esi, dword [edi + 4]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x41f0a3
cmp byte [ebx + 0xf], 2
jne 0x41f07b
cmp byte [ebx + 4], al
je 0x41f07b
cmp byte [ebx + 5], 1
jne 0x41f07b
mov byte [ebx + 0xf], 1
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x14], 1
mov dword [esp + 0x30], eax
test eax, eax
je 0x41efe2
cmp dword [eax + 8], 0
je 0x41efd9
lea esi, [eax + 0xc]
mov ebx, 0x7d
mov edi, edi
mov ecx, dword [esi]
push ecx
call fcn.0040b230
add esp, 4
add esi, 4
dec ebx
jne 0x41efc0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
push eax
call fcn.004041b0
add esp, 4
mov dword [esi + 0x3c], 0
call fcn.00417ca0
cmp byte [edi + 9], 0
je 0x41f011
dec dword [edi + 0xc]
jne 0x41f011
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41f00d
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, 0x65
cmp dword [esp + 0x2c], 0
je 0x41f184
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push 0
call fcn.00417bf0
mov edi, dword [edi + 0x18]
add esp, 4
cmp byte [edi + 8], 0
je 0x41f184
call fcn.004144f0
cmp byte [edi + 8], 2
jne 0x41f15c
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x41f161
cmp byte [ebx + 0xf], 2
jne 0x41f0d7
cmp byte [ebx + 4], al
je 0x41f0d7
cmp byte [ebx + 5], 1
jne 0x41f0d7
mov byte [ebx + 0xf], 1
jmp 0x41f107
movzx edx, byte [ebx + 0x12]
push 1
push edx
call fcn.0040dd30
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x41f09c
cmp ecx, 0xa
jne 0x41f0a3
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
test ebx, ebx
je 0x41efa1
cmp byte [edi + 9], 0
je 0x41f0d0
dec dword [edi + 0xc]
jne 0x41f0d0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41f0cc
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, ebx
jmp 0x41f016
movzx eax, byte [ebx + 0x12]
push 1
push eax
call fcn.0040dd30
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x41f0f8
cmp ecx, 0xa
jne 0x41f0ff
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x41f161
mov eax, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x28], eax
test eax, eax
je 0x41f155
cmp dword [eax + 8], 0
je 0x41f144
mov ebx, eax
add ebx, 0xc
mov dword [esp + 0x2c], 0x7d
lea esp, [esp]
mov edx, dword [ebx]
push edx
call fcn.0040b230
add esp, 4
add ebx, 4
dec dword [esp + 0x2c]
jne 0x41f130
mov eax, dword [esp + 0x28]
push eax
call fcn.004041b0
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [ecx + 0x3c], 0
call fcn.00417ca0
cmp byte [edi + 9], 0
je 0x41f184
dec dword [edi + 0xc]
jne 0x41f184
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x41f180
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
cmp esi, 0xc0a
jne 0x41f191
mov esi, 7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], esi
mov ebx, edx
mov eax, dword [ebx]
test eax, eax
je 0x41f1b0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41f1b0
push eax
call dword [0x5636e8]
add esp, 4
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x41f1d6
dec dword [edi + 0xc]
jne 0x41f1d6
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41f1d2
push eax
call dword [0x5636e8]
add esp, 4
mov byte [edi + 0xa], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x41f1ea
push eax
call dword [0x5636e8]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret