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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1005ba05
push eax
mov dword fs:[0], esp
sub esp, 0xd8
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100240fb
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, dword [ebp + 0xc]
sar ecx, 2
mov dword [eax], ecx
jmp 0x10024717
push dword [ebp + 8]
lea ecx, [esp + 0xa8]
call fcn.10006877
and dword [esp + 0xec], 0
push ecx
push dword [ebp + 0x10]
lea ecx, [esp + 0xac]
call fcn.10025def
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], eax
call fcn.10001c9a
mov byte [esp + 0xec], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0x83c7730f
mov dword [esp + 0x94], 0x8b5131d8
mov dword [esp + 0x84], 0xa5223fa3
mov dword [esp + 0x8c], 0xffffffff
push 2
call fcn.10001c9a
push 0x3b8
lea eax, [esp + 0xa0]
mov byte [esp + 0xf0], 2
push 0
mov dword [esp + 0x84], 0x3413f087
lea edx, [esp + 0x58]
push eax
mov ecx, 0x2cd1
call fcn.10025171
add esp, 0xc
lea eax, [esp + 0x38]
mov edx, 0x34b5
push eax
push 0x346c
push 0
push 0x1008
push ecx
push 0x4cfd
push ecx
push 0x110a
lea eax, [esp + 0xbc]
mov ecx, 0x6a4b
push eax
push 0x63b9
call fcn.100234fd
add esp, 0x28
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x10024232
push eax
push 0x1065
push 0x3fa2
push 1
push 0x6f64
push eax
push 0x522a
push 0x55aa
push 0x43e3
push 0x11fd
push 0x758a
push 0x4ec4
push 0x4fcf
mov edx, 0x2b15
mov ecx, 0x115f
call fcn.100236b0
add esp, 0x34
inc dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x14], eax
jle 0x100241e4
lea eax, [esp + 0x7c]
push eax
push ecx
push ecx
lea eax, [esp + 0x44]
push eax
push 0
push ecx
lea eax, [esp + 0x9c]
mov ecx, 0x415e
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xac]
push eax
lea edx, [esp + 0xb8]
call fcn.10025049
add esp, 0x24
cmp dword [esp + 0x38], 0
je 0x10024290
push dword [esp + 0x38]
call fcn.10042747
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
pop ecx
mov byte [esp + 0xec], 0
cmp dword [esp + 0x50], 0
je 0x100242b7
push dword [esp + 0x50]
call fcn.10042747
xor eax, eax
pop ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0x18], 0xffffffff
je 0x100243fb
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], 0x9fb37b04
mov dword [esp + 0x20], 0x672d714f
mov dword [esp + 0x68], 0xf9c32812
mov dword [esp + 0x88], 0x89afca86
mov dword [esp + 0x5c], 0xb1e5de2c
mov dword [esp + 0x78], 0x8663
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub ecx, 7
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setne dl
imul eax, dword [esp + 0x20], 0x26d
sub edx, eax
mov eax, dword [esp + 0x20]
add eax, edx
cmp dword [esp + 0x1c], eax
jne 0x1002439a
lea eax, [esp + 0x88]
mov dword [esp + 0x70], 0xd238
push eax
lea eax, [esp + 0x6c]
mov ecx, 0x3d24
push eax
push 0x70b6
push 0
push 1
lea eax, [esp + 0x70]
push eax
push 0x24df
lea eax, [esp + 0x38]
push eax
push 0x3755
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
push 0x65a8
push 0x2034
push 0
push 0x45b2
push 0x4a40
lea edx, [esp + 0xb0]
call fcn.10021f28
add esp, 0x40
jmp 0x100243d5
push ecx
push ecx
lea eax, [esp + 0x98]
mov dword [esp + 0xa8], 0
push eax
push 0
lea eax, [esp + 0x88]
mov dword [esp + 0xa0], 0xb8ffd020
push eax
lea eax, [esp + 0xb4]
push eax
push ecx
call fcn.10021cb9
add esp, 0x1c
push 0
lea eax, [esp + 0xa8]
mov edx, 0x140d
push eax
lea eax, [esp + 0x20]
mov ecx, 0x6abc
push 0x7e3e
push eax
call fcn.10025a67
add esp, 0x10
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0xb0]
call fcn.10024f68
mov dword [esp + 0xa4], 0x2db58e46
lea ecx, [esp + 0x38]
add esp, 0xc
mov dword [esp + 0xc], 0x7ad95e17
mov dword [esp + 0x64], 1
mov dword [esp + 0x74], 0xbe4438b
mov dword [esp + 0x60], 0x985a9576
mov dword [esp + 0x6c], 0xfffffff8
push 4
call fcn.10001c9a
mov byte [esp + 0xec], 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], 0x815898f
push 2
call fcn.10001c9a
push 4
pop edx
mov byte [esp + 0xec], dl
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0xc], 0
jmp 0x1002449e
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jl 0x1002448b
mov dword [esp + 0xc], 0
jmp 0x100244bd
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov dword [eax + ecx*4], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x100244ae
push ecx
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1002472c
add esp, 0xc
lea eax, [esp + 0x80]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x28]
push 1
push 0x6b9e
push eax
push 1
push 0x7e29
push 0
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x7c]
push eax
push 0x6686
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.100236b0
add esp, 0x34
cmp dword [esp + 0x44], 0
je 0x1002454a
push dword [esp + 0x44]
call fcn.10042747
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
pop ecx
mov byte [esp + 0xec], 0
cmp dword [esp + 0x2c], 0
je 0x10024572
push dword [esp + 0x2c]
call fcn.10042747
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
pop ecx
cmp dword [esp + 0x18], 0xffffffff
je 0x100246b1
mov dword [esp + 0xc], 0xfffffffd
mov dword [esp + 0xc], 0x5079
cmp dword [esp + 0xc], 0x533a
jle 0x100245e1
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [esp + 0xc8]
or eax, esi
cdq
push edx
push eax
call fcn.10001a41
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100245b8
mov eax, dword [eax]
push eax
call fcn.100425d6
pop ecx
push 0
push 1
lea ecx, [esp + 0xd0]
call fcn.10001f96
inc edi
cmp edi, 0x2860
jl 0x1002459b
inc esi
cmp esi, 0x5e7d
jl 0x10024599
cmp dword [esp + 0xc], 0x4f21
jge 0x100245f6
push str.bnbdduxm_qdb_pvusgerkw
call fcn.100425d6
pop ecx
xor ecx, ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xc], ecx
jmp 0x10024618
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xbc], 1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10024605
mov dword [esp + 0xc], 2
cmp dword [esp + 0xc], ecx
jl 0x10024673
push 0x2f2
sub esp, 0xc
mov edx, 0x3677
push ecx
call fcn.10021dd4
add esp, 0x14
mov edx, 0xe8a
mov ecx, 0x7242
push 0x3977
push 1
push 0
push 0x740f
push 0
push 0x6b76
call fcn.10023b4e
add esp, 0x18
dec dword [esp + 0xc]
push 0
pop ecx
jns 0x1002462d
mov dword [esp + 0xc], ecx
jmp 0x1002468a
mov eax, dword [esp + 0xc]
cmp dword [esp + eax*4 + 0xbc], ecx
jne 0x10024691
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jle 0x10024679
push 0x40f8
push ecx
push ecx
push 0x111d
push ecx
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x2c]
call fcn.10021d73
add esp, 0x14
push ecx
push 0
push ecx
mov dword [esp + 0x18], 2
lea edx, [esp + 0x1f]
mov byte [esp + 0x1f], 0
push 0x69c7
call fcn.10024a51
push 1
lea eax, [esp + 0x26]
mov byte [esp + 0x26], 0
push eax
push 0x3d92
mov edx, 0x5a10
xor cl, cl
call fcn.10022ab1
lea eax, [esp + 0xc0]
add esp, 0x1c
cmp ebx, eax
je 0x10024707
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10006a03
push 0
push 1
lea ecx, [esp + 0xac]
call fcn.10006b31
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret