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

Disassembly:
push 0xffffffffffffffff
push 0x44eacb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x268]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0xc], ebp
jne 0x415338
xor al, al
jmp 0x4157aa
mov ebx, dword [esp + 0x26c]
cmp ebx, ebp
je 0x4157a8
mov eax, dword [esp + 0x270]
cmp eax, ebp
je 0x4157a8
test al, 1
je 0x415362
dec eax
mov dword [esp + 0x270], eax
cmp eax, ebp
jne 0x41536d
xor al, al
jmp 0x4157aa
push edi
call fcn.00426610
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 1
call fcn.0040f610
mov ecx, dword [esp + 0x274]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x264], ebp
mov dword [esp + 0x14], eax
jbe 0x41578d
mov edi, dword [esp + 0x278]
jmp 0x4153b5
mov ebx, dword [esp + 0x270]
mov cl, byte [esi + 0x81]
test cl, cl
je 0x415456
mov edx, dword [esp + 0x274]
lea ecx, [eax + 3]
cmp edx, ecx
jb 0x415456
cmp byte [eax + ebx], 0xfd
jne 0x415456
cmp byte [eax + ebx + 1], 0xef
jne 0x415456
add eax, 2
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, byte [eax + ebx]
mov ebx, edx
cmp ebx, 6
jae 0x41576f
mov edx, dword [esp + 0x274]
inc eax
mov dword [esp + 0x14], eax
lea ecx, [ebx + eax]
cmp edx, ecx
mov dword [esp + 0x1c], ecx
jb 0x41576f
test ebp, ebp
je 0x415435
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00410390
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x270]
push ebx
add eax, ecx
mov ecx, edi
push eax
call fcn.00410390
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, edx
jmp 0x41576f
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x4154a9
mov cl, byte [eax + ebx + 1]
test cl, cl
jne 0x4154a9
mov cl, byte [eax + ebx]
cmp cl, 0x80
jae 0x4154a9
mov byte [esp + ebp + 0x58], cl
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x41549c
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00410390
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], 1
jmp 0x415768
lea ecx, [esp + 0x20]
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x270]
add ebx, eax
push edx
push 2
push ebx
call fcn.00426b40
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x415736
cmp byte [ebx], 0
jne 0x41551c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x270]
mov dl, byte [eax + ecx + 1]
test dl, dl
jne 0x41551c
mov byte [esp + ebp + 0x58], 0
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x415764
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
jmp 0x415764
mov eax, dword [esi + 8]
test eax, eax
je 0x41572f
mov cl, byte [esi + 0x81]
test cl, cl
je 0x415701
cmp eax, 1
jne 0x41557b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41572f
test ebp, ebp
je 0x415562
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00410390
mov byte [esp + 0x1a], 0
jmp 0x415764
cmp eax, 7
jne 0x4155e9
test ebp, ebp
je 0x415599
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x27c]
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
push eax
push edi
push 2
push ebx
mov dword [esp + 0x2c], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esi + 8], 0
call fcn.004172d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x78], ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 8], ecx
mov dword [esi + 0x7c], edx
mov byte [esp + 0x1a], 0
jmp 0x415764
cmp eax, 2
jne 0x4156cc
lea ecx, [esp + 0x2c]
call fcn.0040f210
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x27c]
mov ebp, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push edx
push eax
push 2
push ebx
mov dword [esp + 0x38], ecx
push ebp
push 0x4b0
mov ecx, esi
mov dword [esp + 0x3c], ebp
mov dword [esi + 8], 0
call fcn.004172d0
lea ecx, [esp + 0x2c]
call fcn.0040f250
test eax, eax
je 0x4156ad
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x41565c
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x2c]
call fcn.0040f250
push 0x26
mov ecx, edi
mov ebx, eax
call fcn.00410130
push 0x23
mov ecx, edi
call fcn.00410130
push 0x78
mov ecx, edi
call fcn.00410130
test ebx, ebx
jle 0x4156a0
push edi
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.0040f270
push eax
mov ecx, esi
call fcn.00414c20
inc ebp
cmp ebp, ebx
jl 0x415686
push 0x3b
mov ecx, edi
call fcn.00410130
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x78], ebp
mov ebp, dword [esp + 0x10]
mov dword [esi + 8], edx
mov dword [esi + 0x7c], eax
mov byte [esp + 0x1a], 0
jmp 0x415764
test ebp, ebp
je 0x4156e9
lea ecx, [esp + 0x58]
push ebp
push ecx
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x27c]
mov ecx, esi
push edx
push edi
push ebx
call fcn.00414c90
mov byte [esp + 0x1a], 0
jmp 0x415764
test ebp, ebp
je 0x41571e
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x27c]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.00414c90
mov byte [esp + 0x1a], 0
jmp 0x415764
test ebp, ebp
je 0x415753
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.00410390
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.00410390
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x274]
jb 0x4153ae
test ebp, ebp
je 0x41578d
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.00410390
lea ecx, [esp + 0x2c]
mov dword [esp + 0x264], 0xffffffff
call fcn.0040fde0
mov al, byte [esp + 0x1a]
pop edi
jmp 0x4157aa
mov al, 1
mov ecx, dword [esp + 0x258]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 0x14