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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x48500c]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], esi
push edi
mov edi, edx
inc eax
mov ecx, dword [esi]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], ecx
test edi, edi
je 0x422672
cmp byte [ecx + 0x1e], 0
jne 0x422672
xor ebx, ebx
cmp dword [esi + 0x40], ebx
jne 0x422672
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, esi
call fcn.0041bdf5
add esp, 0xc
test eax, eax
jne 0x42266f
push 0x2c
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.00455b80
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax], 4
ja 0x422622
mov dword [edi + 0x1c], ebx
mov byte [edi + 5], bl
push ebx
mov edx, edi
mov ecx, esi
call fcn.0042214b
pop ecx
test eax, eax
jne 0x42321c
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x20], ebx
je 0x42268b
cmp dword [edi + 0x28], ebx
jne 0x422687
mov ecx, ebx
mov eax, edi
mov dword [eax + 0x24], ebx
inc ecx
mov dword [eax + 0x28], edi
mov ebx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x42264a
cmp ecx, 0x1f4
jle 0x422687
push 0x478e64
push esi
call fcn.00405abe
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00453154
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x422672
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x44], eax
movzx eax, byte [edi + 7]
mov dword [esp + 0x60], eax
movzx eax, byte [edi + 5]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x54], eax
test eax, eax
je 0x42321c
cmp dword [esi + 0x40], ebx
jg 0x42321c
push dword [eax]
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.00420c80
pop ecx
test eax, eax
jne 0x42321c
mov eax, dword [esp + 0x2c]
push 4
pop ecx
cmp cl, byte [eax]
mov ecx, esi
sbb eax, eax
and dword [esp + 0x20], eax
call fcn.00421f7e
mov dword [esp + 0xc], eax
test eax, eax
je 0x42321c
mov ecx, dword [esp + 0x40]
xor eax, eax
mov edx, ebx
mov dword [esp + 0x24], edx
cmp ax, word [ecx]
jge 0x422848
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax + ecx + 0x18], ebx
je 0x42282d
cmp byte [eax + ecx + 0x1c], bl
jne 0x42282d
mov eax, dword [eax + ecx + 0xc]
test eax, eax
je 0x422759
mov ecx, dword [esi + 0xe0]
mov dword [esp + 0x14], ecx
mov dword [esi + 0xe0], eax
mov dword [esp + 0x34], 1
jmp 0x42275d
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, edi
call fcn.004181d7
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add dword [esi + 0xf4], eax
push ebx
mov eax, dword [edx + ecx + 0x20]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x2c]
mov word [esp + 0xdc], 9
lea eax, [esp + 0xdc]
mov dword [esp + 0xe4], ebx
mov edx, dword [edx + ecx + 0x18]
mov ecx, esi
push edi
push eax
call fcn.00422576
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp byte [eax + 0x1e], bl
jne 0x42321c
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, edi
call fcn.004181d7
mov eax, dword [esp + 0x10]
sub dword [esi + 0xf4], eax
cmp dword [esp + 0x34], ebx
je 0x4227f1
mov eax, dword [esp + 0x14]
mov dword [esi + 0xe0], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
cmp byte [eax], 4
jbe 0x42280f
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x44], eax
movzx eax, byte [edi + 5]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
add eax, 0x30
inc edx
mov dword [esp + 0x30], eax
movsx eax, word [ecx]
cmp edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x30]
jl 0x42271f
cmp dword [esp + 0x6c], ebx
je 0x42286b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42286b
cmp dword [esp + 0x60], ebx
je 0x42321c
mov dword [eax], 1
jmp 0x42321c
cmp byte [edi + 5], bl
je 0x422893
cmp byte [edi + 7], bl
jne 0x422893
cmp dword [edi + 0x14], ebx
jne 0x422893
mov edx, dword [edi]
mov ecx, dword [esp + 0x28]
call fcn.00417dc6
mov dword [edi + 0x14], eax
mov dword [esp + 0x18], eax
mov byte [edi + 5], bl
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4228dc
mov ecx, esi
call fcn.00421091
mov ecx, dword [esi + 0x44]
mov edx, eax
mov eax, dword [esp + 0x20]
push 0xfffffffffffffff7
push edx
push ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
inc dword [esi + 0x44]
mov eax, dword [ecx]
add eax, 2
push eax
push dword [ecx + 8]
mov ecx, dword [esp + 0x20]
push 0x6f
pop edx
call fcn.00410911
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
mov dword [edi + 0x44], ecx
jmp 0x4228e1
or dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp byte [eax], 9
jne 0x422903
mov ecx, dword [esp + 0x54]
push ebx
push dword [ecx]
mov ecx, dword [esp + 0x14]
push dword [eax + 4]
push 0x6f
pop edx
call fcn.004108b3
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.00410940
push eax
mov edx, edi
mov dword [esp + 0xac], eax
mov ecx, esi
call fcn.00421fb0
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x422965
mov eax, dword [esi + 0x44]
mov ecx, esi
mov dword [esp + 0x1c], eax
inc eax
mov dword [esi + 0x44], eax
mov edx, dword [edi]
call fcn.00421091
mov ecx, dword [esp + 0xc]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x24]
push 0x6f
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff7
push esi
call fcn.00410c48
mov esi, dword [esp + 0x50]
pop ecx
pop ecx
jmp 0x42296a
or dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x60], ebx
jne 0x4229f5
cmp dword [esp + 0x18], ebx
jne 0x4229f5
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push ebx
push eax
push dword [esp + 0x40]
mov ecx, esi
call fcn.0042571b
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x42321c
mov edx, dword [esp + 0x14]
test edx, edx
js 0x4229c0
cmp dword [esp + 0x20], ebx
jne 0x4229c0
mov ecx, dword [esp + 0xc]
push 1
call fcn.00410c0a
or dword [edi + 0x44], 0xffffffff
mov eax, dword [esp + 0x14]
pop ecx
push ebx
push dword [eax + 0x10]
mov edx, edi
push dword [eax + 0xc]
push dword [esp + 0x38]
push 0xffffffffffffffff
push dword [esp + 0x34]
push ecx
push ecx
push dword [esp + 0x74]
mov ecx, esi
call fcn.00420cad
mov ecx, dword [esp + 0x34]
add esp, 0x24
call fcn.00426a81
mov ecx, dword [esp + 0xc]
jmp 0x4231b9
mov ecx, dword [esp + 0xc]
call fcn.00410940
mov ecx, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x70]
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xc8], eax
test ecx, ecx
je 0x422a51
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0xac]
call fcn.0041a892
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xac]
call fcn.0041a892
mov eax, dword [esp + 0x44]
test eax, eax
je 0x422a92
lea ecx, [esp + 0xac]
mov edx, 0x41a633
push ecx
mov ecx, eax
call fcn.004182d9
pop ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x94], ebx
jle 0x422adb
mov edi, ebx
mov esi, ebx
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0xac]
mov edx, dword [edi + eax]
mov edx, dword [edx + 0x10]
call fcn.0041a892
inc esi
lea edi, [edi + 0x10]
cmp esi, dword [esp + 0x94]
jl 0x422aad
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], bl
jne 0x42321c
cmp dword [esp + 0x18], ebx
je 0x423090
mov ecx, dword [esp + 0xc]
call fcn.00410940
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
call fcn.00410940
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
call fcn.00410940
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x74], eax
inc eax
mov dword [esi + 0x44], eax
call fcn.00421091
mov ecx, dword [esp + 0xc]
push 0xfffffffffffffff7
push eax
push ebx
push dword [esp + 0x88]
mov dword [esp + 0xac], eax
push dword [esp + 0x84]
push 0x6f
pop edx
call fcn.00410911
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x28], eax
push ebx
lea ecx, [eax + 1]
mov dword [esi + 0x48], ecx
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x28], eax
mov dword [esi + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x2c]
inc eax
push eax
push ebx
push 0x2e
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x2c]
push ebx
push 0x2e
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x18]
push ebx
push 0x5a
pop edx
call fcn.004108b3
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x28]
push ebx
inc ecx
push ecx
push 1
push 0x2e
pop edx
mov ecx, eax
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push ebx
push 0x17
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ecx + 0xc]
push ebx
mov dword [esp + 0x14], eax
add eax, 2
push eax
push dword [esp + 0x30]
push 0x7a
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push ebx
push 0x17
pop edx
call fcn.004108b3
add esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004223ae
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x422c5d
push 8
push ecx
mov edx, eax
mov ecx, esi
call fcn.0041a2cc
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
push ebx
push dword [esp + 0x60]
mov edx, edi
push ecx
push dword [esp + 0x38]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push ecx
push ecx
push dword [edi]
mov ecx, esi
call fcn.00420cad
mov ecx, dword [esp + 0x30]
add esp, 0x24
push ebx
push ebx
push ebx
push 0x17
pop edx
call fcn.004108b3
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x7c]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
call fcn.004222d0
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push 0x17
pop edx
call fcn.004108b3
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.00410982
push ebx
push dword [esp + 0x60]
push ebx
push 0x2d
pop edx
call fcn.004108b3
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
add esp, 0xc
mov ecx, esi
push ebx
push eax
push dword [esp + 0x40]
call fcn.0042571b
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x42321c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x422d13
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ebx
jmp 0x422e8b
mov eax, dword [eax]
mov dword [esp + 0x14], eax
inc eax
mov edx, eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x84], ebx
jle 0x422d70
mov ebx, dword [esp + 0x80]
mov edi, eax
mov esi, dword [esp + 0x84]
add ebx, 0xc
cmp dword [ebx], edi
lea eax, [edx + 1]
lea ebx, [ebx + 0x18]
cmovl eax, edx
mov edx, eax
lea eax, [edi + 1]
cmovl eax, edi
mov edi, eax
sub esi, 1
jne 0x422d48
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov esi, dword [esp + 0x48]
mov dword [esp + 0x1c], edx
mov ecx, esi
call fcn.0041a8fd
mov edx, dword [esp + 0x18]
mov ecx, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.0041a047
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0xc]
push ebx
push eax
push dword [esp + 0x7c]
push 4
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x422e0b
mov edi, dword [esp + 0xc]
mov esi, ebx
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x80]
cmp dword [esi + edx + 0xc], ebx
jl 0x422df5
mov eax, dword [esp + 0x38]
mov ecx, edi
add eax, ebx
push eax
push dword [esi + edx + 4]
push dword [esi + edx + 8]
mov edx, dword [esi + edx]
call fcn.00419424
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov eax, dword [esp + 0x14]
inc ebx
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x422dc0
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.0041a8cb
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
push dword [esp + 0x20]
push dword [esp + 0x40]
push 0x54
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x7c]
push 0x67
pop edx
call fcn.004108b3
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.0041a8e7
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x38]
jle 0x422e61
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x3c]
call fcn.00426a81
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x34]
push dword [esp + 0x7c]
push 0x11
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x71], 1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov eax, ebx
mov dword [esp + 0x14], eax
cmp dword [ecx], ebx
jle 0x422efe
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x44], 0
lea edx, [eax + ebx]
push edx
je 0x422ecb
push eax
push dword [esp + 0x7c]
mov ecx, edi
push 2
pop edx
call fcn.004108b3
add esp, 0xc
jmp 0x422ee2
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 1
mov edx, dword [ecx + 0xc]
mov ecx, esi
mov edx, dword [edx + eax]
call fcn.0041a00f
pop ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add dword [esp + 0x1c], 0xc
mov dword [esp + 0x14], eax
cmp eax, dword [ecx]
jl 0x422eac
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [ecx]
sub eax, 1
mov dword [esp + 0x64], eax
js 0x422f6e
mov edi, dword [esp + 0xc]
mov esi, eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea ecx, [esi + ebx]
mov eax, dword [esp + 0x58]
add edx, esi
test esi, esi
push ecx
cmove eax, dword [esp + 0x6c]
mov ecx, edi
push eax
push edx
mov edx, esi
neg edx
sbb edx, edx
add edx, 0x44
call fcn.004108b3
mov eax, dword [esp + 0xa8]
add esp, 0xc
or edx, 0xffffffff
mov ecx, edi
push 0xfffffffffffffffc
push dword [eax + esi*4 + 0x10]
call fcn.00410c48
pop ecx
pop ecx
mov dl, 0x10
mov ecx, edi
call fcn.00410b87
sub esi, 1
jns 0x422f13
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
call fcn.00410982
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], ebx
cmp dword [eax], ebx
jle 0x422fc7
mov eax, dword [esp + 0x24]
mov edi, ecx
mov esi, dword [esp + 0x34]
sub eax, esi
mov dword [esp + 0x24], eax
push ebx
add eax, esi
mov ecx, edi
push eax
push esi
push 0x71
pop edx
call fcn.004108b3
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x58]
inc ecx
inc esi
mov dword [esp + 0x58], ecx
cmp ecx, dword [eax]
mov eax, dword [esp + 0x24]
jl 0x422f97
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x14]
push ebx
push 0x2d
pop edx
call fcn.004108b3
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc eax
push ebx
push dword [esp + 0x34]
push eax
push 0x7a
pop edx
call fcn.004108b3
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push dword [esp + 0x60]
push ebx
push 0x2d
pop edx
call fcn.004108b3
mov edx, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.00410982
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004223fd
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x2c]
push 1
push 0x2e
pop edx
call fcn.004108b3
add esp, 0xc
cmp dword [esp + 0x44], 0
je 0x42305a
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x54]
push dword [esp + 0x7c]
push 0x66
pop edx
call fcn.004108b3
add esp, 0xc
jmp 0x423076
mov ecx, dword [esp + 0x3c]
call fcn.00426a81
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xc]
push 1
call fcn.00410c0a
pop ecx
mov ecx, dword [esp + 0xc]
push ebx
push dword [esp + 0x14]
push ebx
push 0x2d
pop edx
call fcn.004108b3
add esp, 0xc
jmp 0x4231ac
mov edx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
call fcn.004220e3
mov byte [esp + 0x10], al
test al, al
je 0x4230e9
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.00417dc6
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x4230e9
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x1e], bl
jne 0x4230e9
mov eax, dword [eax + 0xc]
cmp byte [esp + 0x10], 1
setne cl
mov byte [eax + 8], cl
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x95
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004222d0
push dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x40]
mov ecx, esi
call fcn.0042571b
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x423125
mov ecx, dword [esp + 0x34]
call fcn.0041829a
jmp 0x42321c
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004223fd
cmp dword [esp + 0x24], ebx
jne 0x423154
cmp byte [esp + 0x10], bl
je 0x423154
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
push ebx
push dword [eax + 0x10]
push ebx
push 0x5a
pop edx
call fcn.004108b3
add esp, 0xc
mov ecx, dword [esp + 0x3c]
call fcn.00426a81
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.004223ae
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x423185
push 8
push dword [esp + 0x34]
mov edx, eax
mov ecx, esi
call fcn.0041a2cc
pop ecx
pop ecx
mov eax, dword [esp + 0x30]
mov edx, edi
push ebx
push eax
push eax
push dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
push ecx
push ecx
push dword [edi]
mov ecx, esi
call fcn.00420cad
mov ecx, dword [esp + 0x58]
add esp, 0x24
call fcn.0041829a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
call fcn.00410982
cmp dword [esp + 0x20], 0
je 0x4231d7
mov eax, dword [esp + 0x54]
mov edx, edi
push dword [esp + 0x2c]
push dword [eax]
push ecx
mov ecx, esi
call fcn.00421122
add esp, 0xc
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4231ef
imul ecx, dword [esp + 0xa4], 0x30
mov eax, dword [eax + 0xc]
mov byte [ecx + eax + 0x1c], 1
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xc]
call fcn.00410982
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x2c]
cmp byte [eax], 5
jne 0x42321c
push dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.00421610
pop ecx
push dword [esp + 0x80]
call fcn.00403e19
pop ecx
push dword [esp + 0x90]
call fcn.00403e19
mov eax, dword [esp + 0x54]
pop ecx
jmp 0x422672