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

Disassembly:
push 0xffffffffffffffff
push 0x43a67b
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 0x411df8
xor al, al
jmp 0x41226a
mov ebx, dword [esp + 0x26c]
cmp ebx, ebp
je 0x412268
mov eax, dword [esp + 0x270]
cmp eax, ebp
je 0x412268
test al, 1
je 0x411e22
dec eax
mov dword [esp + 0x270], eax
cmp eax, ebp
jne 0x411e2d
xor al, al
jmp 0x41226a
push edi
call fcn.00425ea0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1a], 1
call fcn.0040e290
mov ecx, dword [esp + 0x274]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x264], ebp
mov dword [esp + 0x14], eax
jbe 0x41224d
mov edi, dword [esp + 0x278]
jmp 0x411e75
mov ebx, dword [esp + 0x270]
mov cl, byte [esi + 0x81]
test cl, cl
je 0x411f16
mov edx, dword [esp + 0x274]
lea ecx, [eax + 3]
cmp edx, ecx
jb 0x411f16
cmp byte [eax + ebx], 0xfd
jne 0x411f16
cmp byte [eax + ebx + 1], 0xef
jne 0x411f16
add eax, 2
xor edx, edx
mov dword [esp + 0x14], eax
mov dl, byte [eax + ebx]
mov ebx, edx
cmp ebx, 6
jae 0x41222f
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 0x41222f
test ebp, ebp
je 0x411ef5
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.0040e980
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.0040e980
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov eax, edx
jmp 0x41222f
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x411f69
mov cl, byte [eax + ebx + 1]
test cl, cl
jne 0x411f69
mov cl, byte [eax + ebx]
cmp cl, 0x80
jae 0x411f69
mov byte [esp + ebp + 0x58], cl
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x411f5c
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.0040e980
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], 1
jmp 0x412228
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.004263d0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4121f6
cmp byte [ebx], 0
jne 0x411fdc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x270]
mov dl, byte [eax + ecx + 1]
test dl, dl
jne 0x411fdc
mov byte [esp + ebp + 0x58], 0
inc ebp
cmp ebp, 0x200
mov dword [esp + 0x10], ebp
jb 0x412224
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.0040e980
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
jmp 0x412224
mov eax, dword [esi + 8]
test eax, eax
je 0x4121ef
mov cl, byte [esi + 0x81]
test cl, cl
je 0x4121c1
cmp eax, 1
jne 0x41203b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4121ef
test ebp, ebp
je 0x412022
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.0040e980
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.0040e980
mov byte [esp + 0x1a], 0
jmp 0x412224
cmp eax, 7
jne 0x4120a9
test ebp, ebp
je 0x412059
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.0040e980
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.004141a0
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 0x412224
cmp eax, 2
jne 0x41218c
lea ecx, [esp + 0x2c]
call fcn.0040dd50
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.004141a0
lea ecx, [esp + 0x2c]
call fcn.0040dda0
test eax, eax
je 0x41216d
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x41211c
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.0040e980
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x2c]
call fcn.0040dda0
push 0x26
mov ecx, edi
mov ebx, eax
call fcn.0040e740
push 0x23
mov ecx, edi
call fcn.0040e740
push 0x78
mov ecx, edi
call fcn.0040e740
test ebx, ebx
jle 0x412160
push edi
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.0040ddc0
push eax
mov ecx, esi
call fcn.004116e0
inc ebp
cmp ebp, ebx
jl 0x412146
push 0x3b
mov ecx, edi
call fcn.0040e740
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 0x412224
test ebp, ebp
je 0x4121a9
lea ecx, [esp + 0x58]
push ebp
push ecx
mov ecx, edi
call fcn.0040e980
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.00411750
mov byte [esp + 0x1a], 0
jmp 0x412224
test ebp, ebp
je 0x4121de
lea eax, [esp + 0x58]
push ebp
push eax
mov ecx, edi
call fcn.0040e980
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.00411750
mov byte [esp + 0x1a], 0
jmp 0x412224
test ebp, ebp
je 0x412213
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.0040e980
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.0040e980
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x274]
jb 0x411e6e
test ebp, ebp
je 0x41224d
lea edx, [esp + 0x58]
push ebp
push edx
mov ecx, edi
call fcn.0040e980
lea ecx, [esp + 0x2c]
mov dword [esp + 0x264], 0xffffffff
call fcn.0040e440
mov al, byte [esp + 0x1a]
pop edi
jmp 0x41226a
mov al, 1
mov ecx, dword [esp + 0x258]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 0x14