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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x200
mov ecx, dword [esp + 0x214]
mov esi, dword [ecx]
mov bl, 1
test esi, esi
je 0x10036150
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036183
movzx eax, word [eax]
cmp ax, 0xffff
je 0x100361a1
cmp dword [ecx], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x100361da
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100361b6
movzx eax, word [eax]
cmp ax, 0xffff
je 0x100361cd
test bl, bl
jne 0x100361de
mov eax, dword [esp + 0x228]
or byte [eax], 4
xor ebx, ebx
jmp 0x100374ba
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov ecx, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x1003614a
mov dword [ecx], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x1003615d
jmp 0x100361da
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
cmp ax, 0xffff
jne 0x1003616e
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x10036172
movzx ecx, byte [esp + 0x21c]
xorps xmm0, xmm0
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x40], 0
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
lea edi, [esp + 0x28]
lea eax, [esp + 0x44]
lea edx, [esp + 0x2c]
lea ebx, [esp + 0x18]
movzx ecx, cl
lea ebp, [esp + 0x66]
lea esi, [esp + 0x68]
push edi
push eax
push edx
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x78]
push eax
push ebp
push esi
push dword [esp + 0x240]
push ecx
call fcn.10037d50
add esp, 0x28
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [esp + 0x200]
mov dword [esp + 0x50], eax
lea esi, [esp + 0x70]
mov dword [esp + 0x24], 0x10033e20
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x214]
jmp 0x100362dd
mov ecx, ebp
lea eax, [esp + 0x218]
mov dword [eax], ecx
mov esi, dword [esp]
mov ecx, dword [esp + 0x10]
inc ecx
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp ecx, 4
je 0x1003722e
mov ebp, dword [edi]
mov bl, 1
test ebp, ebp
mov dword [esp], esi
je 0x100362ff
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x10036330
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1003634b
cmp dword [edi], 0
sete bl
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
je 0x10036388
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x10036360
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1003637b
test bl, bl
jne 0x10036392
jmp 0x1003722e
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x100362f9
mov dword [edi], 0
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
jne 0x1003630c
jmp 0x10036388
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x1003631d
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x1003722e
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax + 0x68]
cmp eax, 4
ja case.default.0x100363a4
jmp dword [eax*4 + 0x100376c0]
cmp dword [esp + 0x10], 3
jne 0x100368a6
jmp 0x1003722e
mov dword [esp + 8], 0
jmp 0x100363d6
add eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov bl, 1
test esi, esi
je 0x10036424
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036400
movzx eax, word [eax]
jmp 0x10036411
mov eax, dword [esi]
mov ebp, dword [eax + 0x24]
mov ecx, ebp
call dword [0x1007d68c]
mov ecx, esi
call ebp
cmp ax, 0xffff
je 0x10036460
mov eax, dword [esp + 0x214]
cmp dword [eax], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x1003648d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036440
movzx eax, word [eax]
jmp 0x10036451
mov eax, dword [esi]
mov ebp, dword [eax + 0x24]
mov ecx, ebp
call dword [0x1007d68c]
mov ecx, esi
call ebp
cmp ax, 0xffff
je 0x10036480
test bl, bl
jne 0x10036495
jmp 0x1003675a
mov eax, dword [esp + 0x214]
mov dword [eax], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x10036431
jmp 0x1003648d
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x1003675a
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100364b0
movzx ebp, word [eax]
jmp 0x100364c3
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov ebp, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1007d68c]
movzx eax, bp
mov ecx, edi
push eax
push 4
call esi
test al, al
je 0x10036550
mov edx, dword [esp + 0x238]
mov eax, dword [edx]
mov esi, dword [esp + 0x54]
cmp eax, esi
jne 0x10036617
mov edi, dword [esp + 0x234]
mov eax, dword [edi]
sub esi, eax
sete cl
mov edx, esi
add esi, esi
test cl, 1
mov ecx, 2
cmovne esi, ecx
mov ebx, edx
cmp edx, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
cmp dword [edi + 4], 0x10033e20
je 0x100365e2
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x100365f3
jmp 0x100375aa
movzx eax, byte [esp + 0x38]
test al, 1
je 0x10036570
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1003657a
jmp 0x1003675a
shr eax, 1
test eax, eax
je 0x1003675a
cmp dword [esp + 8], 0
je 0x1003675a
cmp bp, word [esp + 0x64]
jne 0x1003675a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jne 0x10036652
mov ecx, dword [esp]
sub edx, ecx
sete al
lea esi, [edx + edx]
test al, 1
mov eax, 4
cmovne esi, eax
mov edi, edx
cmp edx, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp dword [esp + 0x24], 0x10033e20
je 0x10036629
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1003663a
jmp 0x100375aa
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x100375aa
mov edi, dword [esp + 0x234]
mov dword [edi], eax
mov dword [edi + 4], sub.msvcrt.dll_free
mov ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x238]
mov dword [edx], ecx
and esi, 0xfffffffe
add esi, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], esi
lea ecx, [eax + 2]
mov dword [edx], ecx
mov word [eax], bp
inc dword [esp + 8]
jmp 0x10036667
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x100375aa
mov ecx, edi
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x24], sub.msvcrt.dll_free
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x100363d0
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
jmp 0x100363d6
cmp dword [esp + 0x10], 2
jb 0x10036789
cmp dword [esp + 0xc], 0
jne 0x10036789
cmp dword [esp + 0x10], 2
sete al
cmp byte [esp + 0x6b], 0
setne cl
test dword [esp + 0x224], 0x200
jne 0x10036a03
and al, cl
jne 0x10036a03
mov dword [esp + 0xc], 0
jmp case.default.0x100363a4
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
je 0x100367b2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100367be
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036ade
movzx eax, word [eax]
lea esi, [esp + 0x2e]
test dl, dl
je 0x10036717
mov esi, dword [esp + 0x34]
cmp ax, word [esi]
jne 0x100369b4
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036bc3
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x10036bde
cmp dword [esp + 0x10], 3
je 0x1003722e
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036819
movzx esi, word [eax]
jmp 0x1003682c
mov esi, dword [esp]
cmp esi, dword [esp + 0x14]
je 0x10036eee
cmp dword [esp + 8], 0
je 0x10036eee
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x14], edx
je 0x10036b4e
mov ecx, dword [esp + 0x14]
jmp 0x10036ee1
movzx edx, byte [esp + 0x18]
mov dh, dl
and dh, 1
mov esi, dword [esp + 0x20]
mov ebx, esi
lea eax, [esp + 0x1a]
cmove ebx, eax
mov edi, ebx
cmp dword [esp + 0x10], 0
jne 0x10036a18
jmp 0x10036c71
mov eax, ecx
shr eax, 1
test eax, eax
jne 0x100366fa
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
je 0x100369c7
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100369d3
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036b97
movzx eax, word [eax]
lea ecx, [esp + 0x46]
test bl, bl
je 0x100367f7
mov ecx, dword [esp + 0x4c]
cmp ax, word [ecx]
jne 0x10036b0a
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036e6b
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x10036e86
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov esi, eax
mov eax, dword [esp + 0x230]
mov eax, dword [eax]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x1007d68c]
movzx eax, si
mov ecx, dword [esp + 0x230]
push eax
push 8
call ebx
test al, al
je 0x10037416
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1003686c
lea ecx, [eax + 2]
mov dword [esi + 0xc], ecx
movzx eax, word [eax]
jmp 0x1003687d
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx eax, ax
lea ecx, [esp + 0x58]
push eax
call fcn.10020b10
jmp 0x100368a6
lea ecx, [eax + 2]
mov dword [esi + 0xc], ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [esp + 0x58]
push eax
call fcn.10020b10
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x100368df
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100368c0
movzx eax, word [eax]
jmp 0x100368d3
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov bl, 1
cmp ax, 0xffff
je 0x10036920
cmp dword [edi], 0
sete bl
test ebp, ebp
je 0x1003692a
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x100368f0
movzx eax, word [eax]
jmp 0x10036902
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
xor ecx, ecx
cmp ax, 0xffff
sete al
je 0x1003690f
mov ecx, ebp
mov ebp, ecx
cmp bl, al
jne 0x10036939
jmp 0x100362bd
mov dword [edi], 0
test ebp, ebp
jne 0x100368e3
xor ebp, ebp
mov ecx, 0
test bl, bl
jne 0x100362bd
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036950
movzx esi, word [eax]
jmp 0x10036963
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov esi, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x1007d68c]
movzx eax, si
mov ecx, edi
push eax
push 8
call ebx
mov edi, dword [esp + 0x214]
test al, al
je 0x100362bb
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x10036890
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
jmp 0x10036899
mov esi, dword [esp]
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
jne 0x100367ce
mov eax, edx
shr eax, 1
test eax, eax
jne 0x100367da
test cl, 1
je 0x10036b1b
mov eax, dword [esp + 0x30]
test dl, 1
jne 0x10036b29
shr dl, 1
movzx ecx, dl
test eax, eax
jne 0x10036b35
test ecx, ecx
jne 0x10036b3d
jmp case.default.0x100363a4
movzx edx, byte [esp + 0x18]
test dl, 1
mov esi, dword [esp + 0x20]
mov ebx, esi
lea eax, [esp + 0x1a]
cmove ebx, eax
mov dh, dl
and dh, 1
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 1
ja 0x10036ad7
mov eax, edx
shr al, 1
test dh, dh
mov ecx, esi
movzx eax, al
cmovne eax, dword [esp + 0x1c]
mov byte [esp + 8], dl
mov byte [esp + 7], dh
lea edx, [esp + 0x1a]
cmove ecx, edx
lea eax, [ecx + eax*2]
cmp ebx, eax
jne 0x10036a84
movzx edx, byte [esp + 8]
mov dh, byte [esp + 7]
jmp 0x10036c0d
mov eax, dword [esp + 0x1c]
mov ecx, esi
add ebx, 2
lea eax, [ecx + eax*2]
cmp ebx, eax
je 0x10036c0d
movzx edi, word [ebx]
mov eax, dword [esp + 0x230]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, dword [esp + 0x230]
push edi
push 8
call esi
movzx edx, byte [esp + 0x18]
mov esi, dword [esp + 0x20]
mov dh, dl
test al, al
je 0x10036c0a
and dh, 1
jne 0x10036a70
movzx eax, dl
shr eax, 1
lea ecx, [esp + 0x1a]
add ebx, 2
lea eax, [ecx + eax*2]
cmp ebx, eax
jne 0x10036a84
jmp 0x10036c0d
mov edi, ebx
jmp 0x10036c71
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
lea esi, [esp + 0x2e]
test dl, dl
jne 0x10036713
jmp 0x10036717
movzx ecx, byte [esp + 0x2c]
mov esi, dword [esp]
test cl, 1
jne 0x100369dc
shr cl, 1
movzx eax, cl
test dl, 1
je 0x100369e9
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x100369f6
test ecx, ecx
jne 0x10037419
test eax, eax
mov eax, dword [esp + 0x22c]
setne byte [eax]
jmp case.default.0x100363a4
sub edx, esi
sete al
mov ecx, esi
lea esi, [edx + edx]
test al, 1
mov eax, 4
cmovne esi, eax
mov edi, edx
cmp edx, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp dword [esp + 0x24], 0x10033e20
je 0x10036eb9
push esi
push ecx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x10036eca
jmp 0x100375bd
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
lea ecx, [esp + 0x46]
test bl, bl
jne 0x100367f3
jmp 0x100367f7
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx ecx, byte [esp + 0x2c]
mov edx, ecx
and dl, 1
mov eax, dword [esp + 0x22c]
mov byte [eax], 0
test dl, dl
mov esi, dword [esp]
je 0x10036bf5
mov eax, dword [esp + 0x30]
jmp 0x10036bfa
shr cl, 1
movzx eax, cl
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
jmp 0x10036ead
and dh, 1
test dh, dh
mov edi, esi
lea eax, [esp + 0x1a]
cmove edi, eax
movzx eax, byte [esp + 0x58]
test al, 1
mov byte [esp + 8], dl
mov byte [esp + 7], dh
je 0x10036c2f
mov ecx, dword [esp + 0x5c]
jmp 0x10036c33
mov ecx, eax
shr ecx, 1
mov edx, ebx
sub edx, edi
sar edx, 1
cmp edx, ecx
ja 0x10036c68
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5a]
test byte [esp + 0x6c], 1
je 0x10036c50
mov eax, dword [esp + 0x60]
lea eax, [eax + ecx*2]
add edx, edx
sub eax, edx
push edx
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10036c68
mov edi, ebx
movzx edx, byte [esp + 8]
mov dh, byte [esp + 7]
shr dl, 1
test dh, dh
movzx eax, dl
cmovne eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1a]
cmove esi, ecx
lea eax, [esi + eax*2]
cmp edi, eax
jne 0x10036cc6
mov esi, dword [esp]
test dword [esp + 0x224], 0x200
jne 0x10036e3b
mov edi, dword [esp + 0x214]
jmp case.default.0x100363a4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x10036e2a
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov bl, 1
test esi, esi
je 0x10036d18
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036cf0
movzx eax, word [eax]
jmp 0x10036d05
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov dword [esp + 8], ecx
call dword [0x1007d68c]
mov ecx, esi
call dword [esp + 8]
cmp ax, 0xffff
je 0x10036d60
mov eax, dword [esp + 0x214]
cmp dword [eax], 0
sete bl
test ebp, ebp
je 0x10036d8d
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x10036d30
movzx eax, word [eax]
jmp 0x10036d42
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
cmp ax, 0xffff
je 0x10036d80
test bl, bl
jne 0x10036d97
jmp 0x10036c8b
mov eax, dword [esp + 0x214]
mov dword [eax], 0
test ebp, ebp
jne 0x10036d1c
jmp 0x10036d8d
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x10036e27
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036db0
movzx eax, word [eax]
jmp 0x10036dc1
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
cmp ax, word [edi]
jne 0x10036c8b
mov eax, dword [esp + 0x214]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036df0
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x10036e01
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx eax, byte [esp + 0x18]
test al, 1
mov esi, dword [esp]
jne 0x10036cb0
shr eax, 1
lea ecx, [esp + 0x1a]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
jne 0x10036cc6
jmp 0x10036e2a
mov esi, dword [esp]
test dword [esp + 0x224], 0x200
je 0x10036c9f
movzx eax, byte [esp + 0x18]
test al, 1
je 0x10036e4e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x10036e54
shr eax, 1
lea ecx, [esp + 0x1a]
lea eax, [ecx + eax*2]
cmp edi, eax
mov edi, dword [esp + 0x214]
je case.default.0x100363a4
jmp 0x10037419
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
movzx edx, byte [esp + 0x44]
mov ebx, edx
and bl, 1
mov eax, dword [esp + 0x22c]
mov byte [eax], 1
test bl, bl
mov esi, dword [esp]
je 0x10036e9d
mov eax, dword [esp + 0x48]
jmp 0x10036ea2
shr dl, 1
movzx eax, dl
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x44]
cmovae eax, ecx
mov dword [esp + 0xc], eax
jmp case.default.0x100363a4
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x100375bd
mov ecx, edi
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x24], sub.msvcrt.dll_free
mov dword [esp + 0x50], esi
mov esi, eax
mov eax, dword [esp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x214]
jle 0x10037001
mov dword [esp], esi
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x10036f44
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036f18
movzx eax, word [eax]
jmp 0x10036f30
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
je 0x10036f3e
cmp dword [edi], 0
sete bl
jmp 0x10036f44
mov dword [edi], 0
mov esi, dword [esp]
lea eax, [esp + 0x218]
mov ebp, dword [eax]
test ebp, ebp
je 0x10036f96
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x10036f6e
movzx eax, word [eax]
cmp ax, 0xffff
je 0x10036f89
test bl, bl
jne 0x10036fa0
jmp 0x10037419
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
mov esi, dword [esp]
cmp ax, 0xffff
jne 0x10036f65
lea eax, [esp + 0x218]
mov dword [eax], 0
xor ebp, ebp
test bl, bl
jne 0x10037419
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036faf
movzx eax, word [eax]
jmp 0x10036fc0
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
cmp ax, word [esp + 0x66]
jne 0x10037416
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10036fdd
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x10036fee
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
cmp dword [esp + 0x28], 0
jg 0x1003702a
lea eax, [esp + 0x218]
mov dword [eax], ebp
mov esi, dword [esp]
mov eax, dword [esp + 0x238]
mov eax, dword [eax]
mov ecx, dword [esp + 0x234]
cmp eax, dword [ecx]
jne case.default.0x100363a4
jmp 0x10037419
add ecx, 2
mov dword [esi + 0xc], ecx
test eax, eax
jle 0x10036ff5
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x1003705f
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10037040
movzx eax, word [eax]
jmp 0x10037053
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov bl, 1
cmp ax, 0xffff
je 0x100370a0
cmp dword [edi], 0
sete bl
test ebp, ebp
je 0x100370aa
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x10037070
movzx eax, word [eax]
jmp 0x10037082
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1007d68c]
mov ecx, ebp
call esi
xor ecx, ecx
cmp ax, 0xffff
sete al
je 0x1003708f
mov ecx, ebp
mov ebp, ecx
cmp bl, al
jne 0x100370b9
jmp 0x1003740d
mov dword [edi], 0
test ebp, ebp
jne 0x10037063
xor ebp, ebp
mov ecx, 0
test bl, bl
jne 0x1003740d
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100370d0
movzx esi, word [eax]
jmp 0x100370e3
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov esi, eax
mov edi, dword [esp + 0x230]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [0x1007d68c]
movzx eax, si
mov ecx, edi
push eax
push 4
call ebx
mov edi, dword [esp + 0x214]
test al, al
je 0x1003740b
mov eax, dword [esp + 0x238]
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
cmp ecx, edx
je 0x10037140
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100371d3
movzx eax, word [eax]
mov esi, dword [esp + 0x238]
jmp 0x100371ed
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
sub edx, eax
sete cl
mov esi, 2
test cl, 1
jne 0x1003715b
lea esi, [edx + edx]
mov ebx, edx
cmp edx, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
mov ecx, dword [esp + 0x234]
cmp dword [ecx + 4], 0x10033e20
je 0x1003718e
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x1003719f
jmp 0x100375af
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x100375af
mov edx, dword [esp + 0x234]
mov dword [edx], eax
mov dword [edx + 4], sub.msvcrt.dll_free
mov ecx, ebx
add ecx, eax
mov eax, dword [esp + 0x238]
mov dword [eax], ecx
and esi, 0xfffffffe
add esi, dword [edx]
mov dword [esp + 0x54], esi
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1003712f
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov esi, dword [esp + 0x238]
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov dword [esi], edx
mov word [ecx], ax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
mov esi, dword [edi]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x10]
jne 0x10037020
mov eax, dword [esi]
mov ebx, dword [eax + 0x28]
mov ecx, ebx
call dword [0x1007d68c]
mov ecx, esi
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
jg 0x1003702a
jmp 0x10036ff5
cmp dword [esp + 0xc], 0
mov dword [esp], esi
je 0x100373e7
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
test al, 1
je 0x10037254
mov eax, dword [ecx + 4]
cmp eax, 2
jae 0x1003725f
jmp 0x100373e7
shr eax, 1
cmp eax, 2
jb 0x100373e7
mov eax, dword [esp + 0xc]
add eax, 2
mov dword [esp + 8], eax
mov ebp, 1
jmp 0x10037296
mov eax, dword [ecx + 4]
mov esi, dword [esp]
mov edi, dword [esp + 0x214]
inc ebp
cmp ebp, eax
jae 0x100373e7
mov esi, dword [edi]
mov bl, 1
test esi, esi
je 0x100372b5
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100372e0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x100372fe
cmp dword [edi], 0
sete bl
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
je 0x1003734b
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10037320
movzx eax, word [eax]
cmp ax, 0xffff
je 0x1003733e
test bl, bl
jne 0x10037353
jmp 0x10037416
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x100372af
mov dword [edi], 0
lea eax, [esp + 0x218]
mov esi, dword [eax]
test esi, esi
jne 0x100372c6
jmp 0x1003734b
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
cmp ax, 0xffff
jne 0x100372d7
lea eax, [esp + 0x218]
mov dword [eax], 0
test bl, bl
jne 0x10037416
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10037370
movzx eax, word [eax]
jmp 0x10037388
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x214]
mov ecx, dword [esp + 0xc]
test byte [ecx], 1
mov ecx, dword [esp + 8]
mov esi, dword [esp]
je 0x1003739f
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
cmp ax, word [ecx + ebp*2]
jne 0x10037419
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100373c0
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x100373d1
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov ecx, edi
call dword [0x1007d68c]
mov ecx, esi
call edi
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
test al, 1
jne 0x10037280
shr eax, 1
jmp 0x10037283
mov bl, 1
mov eax, dword [esp + 0x14]
cmp esi, eax
je 0x10037407
movzx eax, byte [esp + 0x38]
test al, 1
je 0x100374c7
mov ecx, dword [esp + 0x3c]
jmp 0x100374cb
mov esi, eax
jmp 0x10037425
mov ecx, ebp
lea eax, [esp + 0x218]
mov dword [eax], ecx
mov esi, dword [esp]
mov eax, dword [esp + 0x228]
or byte [eax], 4
xor ebx, ebx
test byte [esp + 0x58], 1
jne 0x1003744e
test byte [esp + 0x44], 1
jne 0x10037461
test byte [esp + 0x2c], 1
jne 0x10037474
test byte [esp + 0x18], 1
jne 0x10037487
test byte [esp + 0x38], 1
jne 0x1003749a
test esi, esi
jne 0x100374aa
jmp 0x100374ba
push dword [esp + 0x60]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x44], 1
je 0x10037433
push dword [esp + 0x4c]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x2c], 1
je 0x1003743a
push dword [esp + 0x34]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x18], 1
je 0x10037441
push dword [esp + 0x20]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x38], 1
je 0x10037448
push dword [esp + 0x40]
call fcn.1001d2c0
add esp, 4
test esi, esi
je 0x100374ba
mov ecx, dword [esp + 0x24]
call dword [0x1007d68c]
push esi
call ecx
add esp, 4
mov eax, ebx
add esp, 0x200
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
shr ecx, 1
mov edx, dword [esp + 0x14]
sub edx, esi
cmp edx, 5
jl 0x10037425
test ecx, ecx
je 0x10037425
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffffc
cmp ecx, esi
jbe 0x10037526
lea eax, [esi + 4]
mov edi, ecx
nop word cs:[eax + eax]
mov edx, dword [eax - 4]
mov esi, dword [ecx]
mov dword [eax - 4], esi
mov dword [ecx], edx
add ecx, 0xfffffffc
lea edx, [eax + 4]
cmp eax, ecx
mov eax, edx
jb 0x10037500
movzx ecx, byte [esp + 0x38]
test cl, 1
je 0x10037532
mov eax, dword [esp + 0x40]
jmp 0x10037536
mov edi, ecx
test al, 1
je 0x10037548
mov eax, dword [esp + 0x40]
jmp 0x1003754c
lea eax, [esp + 0x39]
mov esi, dword [esp]
cmp edi, esi
jbe 0x1003754c
test cl, 1
je 0x10037571
mov ecx, dword [esp + 0x3c]
jmp 0x10037573
lea eax, [esp + 0x39]
movzx eax, byte [eax]
mov ecx, eax
dec cl
cmp cl, 0x7d
ja 0x1003756a
mov ecx, dword [edi]
dec ecx
cmp ecx, eax
mov bl, 1
jae 0x10037419
jmp 0x10037425
mov bl, 1
jmp 0x10037425
shr ecx, 1
add ecx, eax
mov ebp, ecx
mov edx, esi
jmp 0x10037595
mov ecx, ebp
sub ecx, eax
xor ebx, ebx
cmp ecx, 2
setge bl
add eax, ebx
add edx, 4
cmp edx, edi
jae 0x1003754c
movzx ecx, byte [eax]
mov ebx, ecx
dec bl
cmp bl, 0x7d
ja 0x10037580
cmp dword [edx], ecx
je 0x10037580
jmp 0x10037419
call fcn.1004a6f0
lea eax, [esp + 0x218]
mov dword [eax], ebp
call fcn.1004a6f0
call fcn.1004a6f0
push eax
call fcn.10017b8a
mov edi, eax
jmp 0x10037616
test byte [esp + 0x58], 1
jne 0x10037642
test byte [esp + 0x44], 1
jne 0x10037655
test byte [esp + 0x2c], 1
jne 0x10037668
test byte [esp + 0x18], 1
jne 0x1003767b
test byte [esp + 0x38], 1
jne 0x1003768e
mov esi, dword [esp]
test esi, esi
jne 0x100376a1
jmp 0x100376b1
push dword [esp + 0x60]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x44], 1
je 0x10037624
push dword [esp + 0x4c]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x2c], 1
je 0x1003762b
push dword [esp + 0x34]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x18], 1
je 0x10037632
push dword [esp + 0x20]
call fcn.1001d2c0
add esp, 4
test byte [esp + 0x38], 1
je 0x10037639
push dword [esp + 0x40]
call fcn.1001d2c0
add esp, 4
mov esi, dword [esp]
test esi, esi
je 0x100376b1
mov ecx, dword [esp + 0x24]
call dword [0x1007d68c]
push esi
call ecx
add esp, 4
push edi
call fcn.10045260
push eax
call fcn.10017b8a
nop dword [eax]
stosd dword es:[edi], eax
arpl word [ebx], ax
adc byte [ecx], bh
add edx, dword [bx + si]
xchg edx, eax
add dx, word [eax]
fisub word [esi + 3]
adc byte [ebx - 871365789], bh
int3