Function at 0x41736e
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 0x4175a8
cmp byte [esi + 0x25], dl
je 0x4175a8
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 0x4173b8
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x38]
mov edx, dword [edi]
cmp ebx, edx
jne 0x4173e3
test eax, eax
jne 0x4173e3
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 0x4173ff
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 0x417437
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 0x417437
mov eax, dword [esp + 0x20]
ja 0x41742c
cmp edi, eax
jb 0x417437
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.00406ab3
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 0x4174aa
cmp eax, dword [esi + 0x4c]
jb 0x4174aa
ja 0x41749f
cmp ecx, dword [esi + 0x48]
jb 0x4174aa
xor eax, eax
inc eax
xor ecx, ecx
mov byte [esp + 0x13], al
jmp 0x4174b2
xor ecx, ecx
mov al, cl
mov byte [esp + 0x13], cl
cmp dword [esp + 0x28], 0
jne 0x4174dc
cmp dword [esp + 0x20], 0
jne 0x4174c4
test edx, edx
je 0x4174dc
cmp ebx, 1
je 0x4174dc
test al, al
je 0x4174d2
cmp ebx, 3
jne 0x4174dc
mov byte [esp + 0x12], cl
cmp edx, edi
jb 0x41751d
jmp 0x4174e3
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.00415376
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x74]
jne 0x41750f
xor ecx, ecx
mov dword [esi + 0x78], ecx
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x4175ad
cmp byte [esp + 0x12], al
jne 0x417561
mov edx, dword [ebp + 0x10]
lea edi, [esi + 0x3c]
mov eax, dword [esp + 0x18]
test edx, edx
je 0x4173b8
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 0x4173b4
jmp 0x4175ad
cmp dword [esp + 0x28], 0
jne 0x4175a8
xor eax, eax
inc eax
cmp ebx, eax
jne 0x41758b
cmp byte [esi + 0x24], 0
je 0x4175a2
cmp byte [esi + 0x26], 0
je 0x4175a2
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x4175a8
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
jmp 0x4175a0
cmp byte [esp + 0x13], 0
je 0x4175a8
cmp ebx, 3
je 0x4175a8
cmp byte [esi + 0x24], 0
je 0x4175a2
cmp ebx, 4
jne 0x4175a8
mov eax, dword [esp + 0x18]
jmp 0x4175ad
xor ebx, ebx
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc