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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x40], edx
je 0x41562d
cmp byte [esi + 0x25], dl
je 0x41562d
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x3c]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x34], eax
mov eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x41543d
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x38]
mov edx, dword [edi]
cmp ebx, edx
jne 0x415468
test eax, eax
jne 0x415468
mov ecx, dword [ebp + 8]
push edi
push dword [esi + 0x2c]
mov dword [edi], eax
push dword [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov edx, dword [edi]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
sub ecx, eax
cmp ecx, dword [esi + 0x28]
jbe 0x415484
mov edi, dword [esi + 0x28]
add edi, eax
sub edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, eax
cmp byte [esi + 0x26], al
je 0x4154bc
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
cmp dword [esp + 0x2c], eax
jb 0x4154bc
mov eax, dword [esp + 0x20]
ja 0x4154b1
cmp edi, eax
jb 0x4154bc
cmp byte [esi + 0x24], cl
mov edi, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [esp + 0x24]
sub edx, ebx
push eax
push ecx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x60]
push eax
mov eax, dword [esi + 0x40]
add eax, ebx
push eax
lea edx, [edi + edx]
call fcn.00404b53
mov edx, dword [esi + 0x78]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
push 0
pop eax
adc dword [esi + 0x54], eax
sub edx, dword [esp + 0x1c]
mov ecx, edx
mov dword [esi + 0x34], ebx
add ecx, dword [esi + 0x58]
mov dword [esi + 0x58], ecx
adc eax, dword [esi + 0x5c]
cmp byte [esi + 0x26], 0
mov dword [esi + 0x5c], eax
je 0x41552f
cmp eax, dword [esi + 0x4c]
jb 0x41552f
ja 0x415524
cmp ecx, dword [esi + 0x48]
jb 0x41552f
xor eax, eax
inc eax
xor ecx, ecx
mov byte [esp + 0x13], al
jmp 0x415537
xor ecx, ecx
mov al, cl
mov byte [esp + 0x13], cl
cmp dword [esp + 0x28], 0
jne 0x415561
cmp dword [esp + 0x20], 0
jne 0x415549
test edx, edx
je 0x415561
cmp ebx, 1
je 0x415561
test al, al
je 0x415557
cmp ebx, 3
jne 0x415561
mov byte [esp + 0x12], cl
cmp edx, edi
jb 0x4155a2
jmp 0x415568
xor eax, eax
inc eax
mov byte [esp + 0x12], al
mov eax, dword [esi + 0x78]
sub eax, dword [esp + 0x14]
mov edx, dword [esi + 0x70]
add edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004133fb
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x74]
jne 0x415594
xor ecx, ecx
mov dword [esi + 0x78], ecx
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x415632
cmp byte [esp + 0x12], al
jne 0x4155e6
mov edx, dword [ebp + 0x10]
lea edi, [esi + 0x3c]
mov eax, dword [esp + 0x18]
test edx, edx
je 0x41543d
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
lea ecx, [esi + 0x58]
push ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0xc]
lea edi, [esi + 0x3c]
test eax, eax
je 0x415439
jmp 0x415632
cmp dword [esp + 0x28], 0
jne 0x41562d
xor eax, eax
inc eax
cmp ebx, eax
jne 0x415610
cmp byte [esi + 0x24], 0
je 0x415627
cmp byte [esi + 0x26], 0
je 0x415627
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x41562d
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
jmp 0x415625
cmp byte [esp + 0x13], 0
je 0x41562d
cmp ebx, 3
je 0x41562d
cmp byte [esi + 0x24], 0
je 0x415627
cmp ebx, 4
jne 0x41562d
mov eax, dword [esp + 0x18]
jmp 0x415632
xor ebx, ebx
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc