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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100628e5
push eax
mov dword fs:[0], esp
sub esp, 0x8c
cmp byte [ebp + 0xc], 0
push ebx
push esi
je 0x100424ff
push 7
pop esi
xor ecx, ecx
mov dword [esp + 0x74], esi
xor eax, eax
mov dword [esp + 0x70], ecx
mov word [esp + 0x60], ax
push 0xacf
push 0x24af
xor ebx, ebx
mov dword [esp + 0xa4], ecx
inc ebx
lea eax, [esp + 0x68]
push ebx
push ecx
push 0x604f
push 0x5749
push eax
push ebx
lea edx, [ebp + 0x10]
mov ecx, 0x2084
call fcn.10042da6
mov dword [esp + 0x28], 0x9e57ad95
add esp, 0x20
mov dword [esp + 8], 0
jmp 0x10041f54
mov eax, dword [esp + 8]
mov dword [esp + eax*4 + 0x84], 0x4e2db58
inc dword [esp + 8]
cmp dword [esp + 8], ebx
jl 0x10041f41
push ecx
lea eax, [esp + 0x23]
mov byte [esp + 0x23], 0
push 0x4f7c
push eax
mov dl, bl
call fcn.10041dad
mov dword [esp + 0x14], 0
add esp, 0xc
cmp dword [esp + 8], 0
jl 0x10041fd6
push 2
lea ecx, [esp + 0x7c]
call fcn.100021e9
push ecx
lea eax, [esp + 0x7c]
mov byte [esp + 0xa0], bl
push ebx
push eax
lea edx, [esp + 0x98]
mov ecx, 0x502f
call fcn.10041d3b
pop ecx
pop ecx
lea eax, [esp + 0x7c]
push eax
push ecx
push ebx
push ecx
call fcn.100418c0
add esp, 0x14
mov byte [esp + 0x9c], 0
lea ecx, [esp + 0x78]
call fcn.10002246
dec dword [esp + 8]
jns 0x10041f83
mov eax, dword [0x1007f2ec]
test al, 1
jne 0x1004200c
or eax, ebx
mov dword [0x1007f2ec], eax
push 0xd71
mov byte [esp + 0xa0], 2
call fcn.1001394f
mov word [0x1007df44], ax
mov byte [esp + 0xa0], 0
mov eax, dword [0x1007f2ec]
pop ecx
test al, 2
jne 0x10042039
or eax, 2
mov dword [0x1007f2ec], eax
push 0x7d1
mov byte [esp + 0xa0], 3
call fcn.1001394f
pop ecx
mov word [0x1007f2f4], ax
mov byte [esp + 0x9c], 0
mov dword [esp + 0x14], 0xe9323d1b
xor ecx, ecx
mov dword [esp + 0x20], 9
mov dword [esp + 0x10], 0xae28de6
mov dword [esp + 0x18], 0x510afbd1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], 0x4679f786
mov eax, dword [esp + 0x20]
cmp eax, 0x837a
setne cl
xor eax, eax
add ecx, 0xb0e8
cmp ecx, ebx
setle al
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, 0x5378470e
cmp eax, ebx
mov eax, dword [esp + 0x20]
setg cl
xor ebx, ebx
cmp ecx, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
setle bl
xor edx, edx
cmp ecx, eax
setge dl
imul edx, dword [esp + 0x14]
cmp edx, ebx
je 0x100420c3
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0xc], 0x19b885b3
mov dword [esp + 0x34], 0xd6158f8
mov dword [esp + 0x28], 0x5aca64a9
mov dword [esp + 8], 0
cmp dword [esp + 8], 3
jge 0x10042103
mov eax, dword [esp + 8]
mov dword [esp + eax*4 + 0x3c], ebx
inc dword [esp + 8]
jmp 0x100420ee
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
sub ecx, eax
cmp ecx, dword [esp + 0x10]
jl 0x1004211b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
neg ecx
sbb ecx, ecx
xor edx, edx
add ecx, 2
cmp ecx, eax
mov eax, dword [esp + 0x10]
setle dl
xor ecx, ecx
add edx, 0x2b0a94fe
cmp edx, eax
setl cl
sub ecx, dword [esp + 0xc]
je 0x100421aa
mov dword [esp + 0x2c], 0xffffffff
xor edx, edx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0x93632cac
mov eax, 0x89e7675d
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x34]
setne dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x2c]
setg bl
xor ecx, ecx
cmp ebx, eax
setg cl
xor ebx, ebx
mov dword [esp + 0x28], ecx
inc ebx
jmp 0x10042336
mov dword [esp + 8], 6
mov dword [esp + 0xc], 0xed5c0eb
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xc], 0
jmp 0x100421d8
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x30], 0xfb40acb4
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jl 0x100421c8
mov dword [esp + 0x14], 0
cmp dword [esp + 0x14], 2
jg 0x10042311
push 4
mov dword [esp + 0x54], 0x62155b9
mov eax, dword [esp + 0x38]
pop ecx
sub ecx, eax
je 0x10042226
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x3c]
mov eax, dword [esp + 8]
cmp dword [esp + 0x28], 0
jne 0x10042222
cmp dword [esp + 8], 0
je 0x10042226
mov edx, ebx
jmp 0x10042228
xor edx, edx
mov eax, dword [esp + 8]
xor ecx, ecx
cmp edx, eax
push 1
setge cl
xor edx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x18]
setle cl
xor ebx, ebx
cmp ecx, 0xedf4
setle bl
xor ecx, ecx
mov dword [esp + eax*4 + 0x40], ebx
mov edx, dword [esp + 0x54]
add edx, ebx
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
pop ebx
cmp eax, edx
setne cl
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov eax, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp esi, eax
mov eax, dword [esp + 0x2c]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
mov dword [esp + 0xc], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jle 0x100421f1
push 0x2256
push 0x31ab
push ebx
lea eax, [esp + 0x29]
mov byte [esp + 0x29], 0
push eax
push ebx
mov edx, 0x65b1
xor cl, cl
call fcn.10043880
add esp, 0x14
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10042481
xor ecx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 8], ecx
jmp 0x10042360
mov eax, dword [esp + 8]
mov dword [esp + eax*4 + 0x88], 0x624039b
inc dword [esp + 8]
cmp dword [esp + 8], ebx
jl 0x1004234d
mov dword [esp + 8], ecx
jmp 0x1004239f
push ecx
push 0xd11
push 0x715a
push ebx
push 0x7bf5
push 0x7d6
push 0x6878
mov edx, 0x7a7
mov ecx, 0x189c
call fcn.100419bb
add esp, 0x1c
inc dword [esp + 8]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x1004236c
mov byte [esp + 0x1e], cl
sub esp, 0x14
lea ecx, [esp + 0x32]
call fcn.10041e90
add esp, 0x14
call fcn.100418a3
push 0x34
xor edx, edx
pop ecx
div ecx
mov dword [esp + 0x48], edx
mov dword [esp + 8], 0x69fdf99f
mov dword [esp + 0x54], ebx
mov dword [esp + 8], 0
jmp 0x100423ee
mov eax, dword [esp + 8]
mov dword [esp + eax*4 + 0x38], 0xbacd7953
inc dword [esp + 8]
cmp dword [esp + 8], ebx
jl 0x100423de
mov dword [esp + 8], 0x14
jmp 0x10042457
mov dword [esp + 0xc], 0x85bf25cb
mov dword [esp + 0xc], 0
jmp 0x10042424
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + eax*4 + 0x38]
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x38], ecx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0
jle 0x10042410
push 0x67c4
push ebx
push 0x753f
push 0x36be
push 0x42a3
push ebx
push ebx
lea edx, [esp + 0x70]
mov ecx, 0x51a7
call fcn.100418ed
add esp, 0x1c
dec dword [esp + 8]
cmp dword [esp + 8], 0xffffffea
jl 0x100423fe
push 0x1007df44
push 0
push 0x1007f2f4
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x54]
call fcn.10041b7c
add esp, 0xc
dec esi
jne 0x10042341
push 0x44f4
push ebx
mov dword [esp + 0x2c], 0xea5d6c05
mov edx, 0x64eb
push 0x1231
mov ecx, 0x5eeb
call fcn.10041b7c
add esp, 0xc
mov dword [esp + 0x24], 0xffffffe8
jmp 0x100424d5
push 0x2e33
push ebx
push ecx
push ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], 0xeede0b40
push eax
lea edx, [esp + 0x60]
call fcn.10041970
add esp, 0x14
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 0x11
jg 0x100424b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
cmp ecx, eax
je 0x100424f1
push 0xffffffffffffffff
push 0
push eax
call fcn.10014a45
push 0
push ebx
lea ecx, [esp + 0x68]
call fcn.10014b87
jmp 0x10042503
mov eax, dword [edx]
dec dword [eax]
mov ecx, dword [esp + 0x94]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret