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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006cd9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
xor ebx, ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x10], ebx
push esi
mov byte [esp + 0x1b], bl
mov esi, ecx
push edi
mov dword [esp + 0x44], esi
cmp byte [esp + 0x1f], bl
je 0x10021b59
push 0xb70
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call fcn.1002107a
cmp dword [esi + 0x10], ebx
jne 0x10021b6a
xor al, al
jmp 0x10022796
mov dword [esp + 0x2c], 0x948708ef
push 4
pop ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0x7597a61e
mov dword [esp + 0x10], 0xe1459f45
mov dword [esp + 0x20], ebx
mov dword [esp + 0xd0], 0xfff16ce6
mov dword [esp + 0x70], 0xfffffffd
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x10021bbd
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x10c], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x10021bae
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], 7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
imul eax, eax, 0x6e6a
add ecx, eax
xor eax, eax
cmp ecx, 0x35b2
mov ecx, dword [esp + 0x2c]
setne al
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, 0x74ec135c
je 0x10021cb0
mov dword [esp + 0x14], 0xfff6
xor edx, edx
push 2
pop edi
mov dword [esp + 0x24], edi
inc edx
mov dword [esp + 0x18], 0x88d514fa
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
dec dword [esp + 0x10]
mov dword [esp + 0x24], edx
cmp eax, ecx
jne 0x10021c42
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
imul ecx, eax
cmp ecx, dword [esp + 0x2c]
jl 0x10021c6f
mov ecx, ebx
cmp dword [esp + 0x14], ebx
je 0x10021c71
mov ecx, edx
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
sete dl
xor ecx, ecx
cmp edx, eax
setne cl
add ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x20], 0xcea0
mov dword [esp + 0x24], eax
jmp 0x10021e99
mov dword [esp + 0x24], 0xe240
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], 0xeac84c92
push 1
call fcn.1001a4ba
mov dword [esp + 0x144], ebx
xor edx, edx
mov dword [esp + 0x18], ebx
inc edx
mov dword [esp + 0x14], ebx
jmp 0x10021cf8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
mov dword [eax + ecx*4], 0x3da79815
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10021ce2
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x2c], 3
push 2
pop edi
jg 0x10021e00
mov dword [esp + 0x10], 0x303a67d6
mov dword [esp + 0x14], 0xe6ba9994
mov dword [esp + 0x14], ebx
jmp 0x10021d39
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x98], 0x4bf4d80a
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10021d26
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + eax*4 + 0x10c]
imul eax, dword [esp + 0x9c]
inc dword [esp + 0x9c]
test eax, eax
je 0x10021dc7
mov eax, dword [esp + 0x9c]
xor esi, esi
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x34]
inc esi
cmp eax, esi
mov eax, dword [esp + 0x8c]
setl dl
xor ecx, ecx
sub edx, dword [eax]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 0xfffffffb
setl al
cmp esi, eax
mov eax, dword [esp + 0x24]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
cmp dword [esp + 0x24], ecx
jle 0x10021dbc
mov eax, dword [esp + 0x8c]
cmp dword [eax], ebx
je 0x10021dbc
xor edx, edx
inc edx
mov eax, edx
jmp 0x10021dc1
xor edx, edx
mov eax, ebx
inc edx
cmp eax, dword [esp + 0x28]
jge 0x10021dc9
mov edx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], 3
cmp dword [esp + 0x28], ebx
jl 0x10021dea
lea ecx, [esp + 0x74]
call fcn.10021652
dec dword [esp + 0x28]
jns 0x10021ddb
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 3
jle 0x10021d10
mov esi, dword [esp + 0x44]
xor edx, edx
inc edx
mov dword [esp + 0x10], ebx
jmp 0x10021e5e
mov dword [esp + 0x24], 0xa85175ef
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x10c], ebx
je 0x10021e37
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x18], ebx
je 0x10021e4c
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x10c], ebx
mov eax, edx
jne 0x10021e4e
mov eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jle 0x10021e06
or dword [esp + 0x144], 0xffffffff
cmp dword [esp + 0x8c], 0
je 0x10021e99
push dword [esp + 0x8c]
call fcn.10052bc8
pop ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x7c]
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.100217ca
push 0x804
lea eax, [esp + 0x80]
push eax
push ebx
call fcn.100227e9
add esp, 0x1c
lea ecx, [esp + 0xa0]
push edi
call fcn.1001a4ba
mov dword [esp + 0x14], ebx
jmp 0x10021eff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xa0]
mov dword [eax + ecx*4], 0xfffe
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10021ee9
mov byte [esp + 0x3b], bl
lea ecx, [esp + 0x3b]
call fcn.10021a4a
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10021f25
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0xa0], 0
je 0x10021f51
push dword [esp + 0xa0]
call fcn.10052bc8
pop ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x10021f6f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], 0xffffffff
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10021f5f
mov dword [esp + 0x10], ebx
jmp 0x10021f8f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xd8], 0xffffffff
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10021f7c
xor edx, edx
mov dword [esp + 0x14], ebx
inc edx
cmp dword [esp + 0x14], 0xffffffe3
je 0x100220fb
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
cmp dword [esp + 0x10], ebx
jl 0x100220a5
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x20], edi
cmp dword [esp + 0x20], ebx
jl 0x1002208b
mov dword [esp + 0x78], 0x3f0bc502
lea ecx, [esp + 0x78]
call fcn.10021a6c
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x54], ebx
jne 0x1002200f
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x54]
test eax, eax
mov eax, dword [esp + 0x20]
setne cl
cmp dword [esp + eax*4 + 0x54], ecx
jge 0x1002200f
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x14]
imul eax, eax, 5
test eax, eax
je 0x1002203a
mov eax, dword [esp + 0x20]
mov ecx, edx
cmp dword [esp + eax*4 + 0x54], ebx
jne 0x1002203c
mov ecx, ebx
mov eax, dword [esp + 0x20]
imul eax, ecx
cmp eax, dword [esp + 0x5c]
je 0x1002204d
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x14], ebx
jne 0x1002206b
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x54], ebx
mov eax, ebx
je 0x1002206d
mov eax, edx
xor ecx, ecx
add eax, 9
cmp eax, 0x3ac46ddc
setg cl
mov dword [esp + 0xdc], ecx
dec dword [esp + 0x20]
jns 0x10021fd3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], ecx
dec dword [esp + 0x10]
jns 0x10021fbd
mov dword [esp + 0xdc], 0x6dbd8d46
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, 0x6dbd8d46
setl cl
add ecx, dword [esp + 0x10]
jne 0x100220d5
mov eax, dword [esp + 0x10]
mov ecx, 0xb1f0
mov dword [esp + 0x18], ebx
sub ecx, eax
je 0x100220d9
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, dword [esp + 0x18]
setge cl
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
dec dword [esp + 0x14]
jmp 0x10021f9c
cmp dword [esi + 0x14], 0x10
jb 0x10022105
mov ecx, dword [esi]
jmp 0x10022107
mov ecx, esi
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x50], ecx
jb 0x10022119
mov eax, dword [esi]
mov dword [esp + 0x18], eax
jmp 0x1002211d
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x18]
cmp ecx, eax
je 0x10022650
mov dword [esp + 0x18], 0xb15e314a
mov dword [esp + 0x18], 0x190a
cmp dword [esp + 0x18], 0x561
jge 0x100221b0
mov dword [0x107228c0], edx
mov esi, 0x107227c4
call fcn.10021ae1
mov dword [esi], eax
add esi, 4
cmp esi, 0x107228b4
jle 0x10022151
push 0x1065f284
mov esi, 0x1000b1e0
push esi
call fcn.1005233b
pop ecx
pop ecx
jmp 0x100221a1
dec eax
push 0x1065f288
push esi
mov dword [0x1065f284], eax
call fcn.1005233b
mov eax, dword [0x1065f288]
push dword [eax*4 + 0x107227c0]
push 0x1000b2ac
call fcn.10052a2c
add esp, 0x10
mov eax, dword [0x1065f284]
test eax, eax
jne 0x10022177
dec eax
mov dword [0x1065f284], eax
mov dword [esp + 0x18], 0xc6d21cd
mov dword [esp + 0x10], ebx
jmp 0x100221cd
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xf4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x100221be
mov dword [esp + 0x10], ebx
jmp 0x100221ea
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x48], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x100221da
xor esi, esi
mov dword [esp + 0x48], ebx
inc esi
cmp dword [esp + 0x48], 3
jg 0x100222d8
push edi
lea ecx, [esp + 0xbc]
call fcn.1001a4ba
mov dword [esp + 0x18], 0x78acc4b7
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
jmp 0x10022237
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xb8]
mov dword [eax + ecx*4], 0x43631e19
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10022221
mov eax, dword [esp + 0x48]
xor edx, edx
mov eax, dword [esp + eax*4 + 0xf4]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + eax*4 + 0xf4]
mov eax, dword [esp + 0x4c]
cmp eax, ecx
mov eax, dword [esp + 0xb8]
setg dl
mov dword [eax + 4], edx
xor eax, eax
test edx, edx
setne al
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + eax*4 + 0xf4]
mov eax, dword [esp + 0x18]
cmp ecx, eax
setl dl
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x100222ad
call sub.KERNEL32.dll_GetACP
push dword [esp + 0xb8]
call fcn.10052bc8
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
inc dword [esp + 0x4c]
pop ecx
jmp 0x100221f7
mov eax, dword [esp + 0x100]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
mov al, byte [eax]
cmp al, 0x30
jl 0x10022638
cmp al, 0x39
jg 0x10022638
push edi
lea ecx, [esp + 0xb0]
call fcn.1001a4ba
lea edx, [esp + 0xac]
lea ecx, [esp + 0xd4]
call fcn.10021a79
mov byte [esp + 0x3a], bl
lea ecx, [esp + 0x3a]
call fcn.10021a4a
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10022336
call fcn.10021a98
cmp dword [esp + 0xac], 0
je 0x10022362
push dword [esp + 0xac]
call fcn.10052bc8
pop ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
push 0x4158
push 0x5395
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [esp + 0x7c]
push 0x505b
push eax
call fcn.10022b10
add esp, 0x18
lea ecx, [esp + 0x80]
push esi
call fcn.1001a4ba
mov dword [esp + 0x144], esi
lea edx, [esp + 0x80]
mov dword [esp + 0x10], 0xb4ffb87
lea ecx, [esp + 0x30]
call fcn.10021aa3
mov dword [esp + 0x30], ebx
jmp 0x100223c5
mov eax, dword [esp + 0x30]
mov dword [esp + eax*4 + 0xe0], ebx
inc dword [esp + 0x30]
cmp dword [esp + 0x30], edi
jl 0x100223b6
xor ecx, ecx
mov dword [esp + 0x30], ebx
inc ecx
jmp 0x100223e4
mov eax, dword [esp + 0x30]
mov dword [esp + eax*4 + 0x7c], 0xffffffff
inc dword [esp + 0x30]
cmp dword [esp + 0x30], ecx
jl 0x100223d4
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jl 0x100225da
mov dword [esp + 0x20], 0xdba33992
mov dword [esp + 0x18], 0x885bd52a
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
jmp 0x10022425
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x11c], 0xbac8ef34
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10022412
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], ebx
jg 0x100225d0
push dword [esp + 0xd4]
movdqa xmm0, xmmword [0x1000b8a0]
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x130]
mov dword [esp + 0x2c], 0xf738f585
push eax
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], ebx
movdqu xmmword [esp + 0x138], xmm0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.100200dd
mov dword [esp + 0x18], 0x5e42506e
mov dword [esp + 0x18], 0xfffffffc
mov dword [esp + 0x14], ebx
jmp 0x100224a9
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x104], 0xffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10022496
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xe0], edx
mov eax, dword [esp + 0x20]
cmp edx, eax
push 0xfffffffffffffffe
setg cl
xor edx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp edx, 0xc4a8
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
sub ecx, dword [esp + 0x28]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
imul ecx, dword [esp + 0x28]
cmp ecx, 0x3abe
setne al
xor edx, edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
imul ecx, dword [eax]
test ecx, ecx
setle dl
xor eax, eax
test edx, edx
mov dword [esp + 0x128], edx
sete al
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov eax, dword [eax + ecx*4]
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x120]
neg eax
cmp eax, 8
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
add edx, dword [esi + edi*4]
cmp edx, eax
pop eax
setne cl
cmp eax, ecx
mov eax, dword [esp + 0x20]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setle cl
mov dword [esp + 0x18], ecx
cmp dword [esp + 0xe0], ebx
push dword [esp + 0x60]
call fcn.10052bc8
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
inc dword [esp + 0x24]
cmp dword [esp + 0x24], ebx
pop ecx
push 2
pop edi
jle 0x1002243a
xor ecx, ecx
inc ecx
dec dword [esp + 0x10]
jns 0x100223f8
mov dword [esp + 0x10], ebx
jmp 0x100225ec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffff
jg 0x100225e0
or dword [esp + 0x144], 0xffffffff
cmp dword [esp + 0x80], 0
je 0x10022627
push dword [esp + 0x80]
call fcn.10052bc8
pop ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x50]
xor edx, edx
mov esi, dword [esp + 0x44]
inc ecx
inc edx
jmp 0x10022107
lea eax, [esp + 0x6c]
push eax
push ebx
push 0x4220
call fcn.10024ccd
add esp, 0xc
jmp 0x10021b63
mov dword [esp + 0x34], 0x3026d8d3
lea ecx, [esp + 0xc4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], 0x874be76d
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], 0xffffffff
push edx
call fcn.1001a4ba
mov dword [esp + 0x24], 9
lea edx, [esp + 0xc4]
mov dword [esp + 0x14], 0xd0204613
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 0x75aba8b
call fcn.10021ac2
push 3
mov dword [esp + 0x44], ebx
pop ecx
jmp 0x100226bd
mov eax, dword [esp + 0x40]
mov dword [esp + eax*4 + 0xe8], ecx
inc dword [esp + 0x40]
cmp dword [esp + 0x40], ecx
jl 0x100226ae
mov dword [esp + 0x34], 0xbc3e
cmp dword [esp + 0x34], ebx
jne 0x1002275f
dec dword [esp + 0xe8]
xor edx, edx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp eax, ecx
setne dl
cmp edx, 0xef33
jne 0x10022708
cmp dword [esp + 0xe8], ebx
jne 0x1002270c
mov eax, dword [esp + 0x10]
dec dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov eax, dword [esp + 0x24]
setge dl
sub eax, edx
je 0x1002273f
mov eax, dword [esp + 0xc4]
cmp dword [eax], ebx
je 0x1002273f
xor esi, esi
inc esi
jmp 0x10022741
mov esi, ebx
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp esi, eax
sete cl
sub ecx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [esp + 0x20]
jne 0x1002275f
mov ecx, ebx
jmp 0x10022762
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xc4]
cmp dword [eax], ebx
jne 0x10022788
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc4]
je 0x1002278b
xor ebx, ebx
inc ebx
push eax
mov dword [eax], ebx
call fcn.10052bc8
pop ecx
mov al, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret