Function at 0x415330
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 0x415368
xor al, al
jmp 0x4157da
mov ebx, dword [esp + 0x26c]
cmp ebx, ebp
je 0x4157d8
mov eax, dword [esp + 0x270]
cmp eax, ebp
je 0x4157d8
test al, 1
je 0x415392
dec eax
mov dword [esp + 0x270], eax
cmp eax, ebp
jne 0x41539d
xor al, al
jmp 0x4157da
push edi
call fcn.00426660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 1
call fcn.0040f630
mov ecx, dword [esp + 0x274]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x264], ebp
mov dword [esp + 0x14], eax
jbe 0x4157bd
mov edi, dword [esp + 0x278]
jmp 0x4153e5
mov ebx, dword [esp + 0x270]
mov cl, byte [esi + 0x81]
test cl, cl
je 0x415486
mov edx, dword [esp + 0x274]
lea ecx, [eax + 3]
cmp edx, ecx
jb 0x415486
cmp byte [eax + ebx], 0xfd
jne 0x415486
cmp byte [eax + ebx + 1], 0xef
jne 0x415486
add eax, 2
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, byte [eax + ebx]
mov ebx, edx
cmp ebx, 6
jae 0x41579f
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 0x41579f
test ebp, ebp
je 0x415465
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.004103b0
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.004103b0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, edx
jmp 0x41579f
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x4154d9
mov cl, byte [eax + ebx + 1]
test cl, cl
jne 0x4154d9
mov cl, byte [eax + ebx]
cmp cl, 0x80
jae 0x4154d9
mov byte [esp + ebp + 0x58], cl
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x4154cc
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.004103b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], 1
jmp 0x415798
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.00426b90
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x415766
cmp byte [ebx], 0
jne 0x41554c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x270]
mov dl, byte [eax + ecx + 1]
test dl, dl
jne 0x41554c
mov byte [esp + ebp + 0x58], 0
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x415794
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.004103b0
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
jmp 0x415794
mov eax, dword [esi + 8]
test eax, eax
je 0x41575f
mov cl, byte [esi + 0x81]
test cl, cl
je 0x415731
cmp eax, 1
jne 0x4155ab
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41575f
test ebp, ebp
je 0x415592
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.004103b0
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.004103b0
mov byte [esp + 0x1a], 0
jmp 0x415794
cmp eax, 7
jne 0x415619
test ebp, ebp
je 0x4155c9
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.004103b0
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.00417300
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 0x415794
cmp eax, 2
jne 0x4156fc
lea ecx, [esp + 0x2c]
call fcn.0040f240
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.00417300
lea ecx, [esp + 0x2c]
call fcn.0040f280
test eax, eax
je 0x4156dd
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x41568c
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.004103b0
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x2c]
call fcn.0040f280
push 0x26
mov ecx, edi
mov ebx, eax
call fcn.00410150
push 0x23
mov ecx, edi
call fcn.00410150
push 0x78
mov ecx, edi
call fcn.00410150
test ebx, ebx
jle 0x4156d0
push edi
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.0040f290
push eax
mov ecx, esi
call fcn.00414c50
inc ebp
cmp ebp, ebx
jl 0x4156b6
push 0x3b
mov ecx, edi
call fcn.00410150
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 0x415794
test ebp, ebp
je 0x415719
lea ecx, [esp + 0x58]
push ebp
push ecx
mov ecx, edi
call fcn.004103b0
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.00414cc0
mov byte [esp + 0x1a], 0
jmp 0x415794
test ebp, ebp
je 0x41574e
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.004103b0
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.00414cc0
mov byte [esp + 0x1a], 0
jmp 0x415794
test ebp, ebp
je 0x415783
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.004103b0
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.004103b0
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x274]
jb 0x4153de
test ebp, ebp
je 0x4157bd
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.004103b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x264], 0xffffffff
call fcn.0040fe00
mov al, byte [esp + 0x1a]
pop edi
jmp 0x4157da
mov al, 1
mov ecx, dword [esp + 0x258]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 0x14