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

Disassembly:
movzx ebx, bx
jmp 0x1005afbe
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x108]
mov ecx, ebp
call fcn.1005adb6
test eax, eax
jns 0x1005b087
jmp 0x100a5ccf
sub esp, 0xe8
xor eax, eax
push ebx
mov ebx, dword [esp + 0xf4]
push ebp
mov ebp, ecx
push edi
mov edi, dword [ebp + 0x80]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
or eax, 0xffffffff
cmp dword [esp + 0xf8], 0
mov dword [esp + 0x38], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], 0
jne 0x1005b2b5
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100e1972
test eax, eax
js 0x1005bc04
movzx eax, word [ebp + 0x64]
sub eax, dword [ebp + 0x5dc]
je 0x1005cf12
dec eax
push eax
push 0
lea eax, [ebp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.100e16c1
mov dword [esp + 0x70], 1
mov dword [esp + 0x40], 1
mov ebx, 0x48
mov ecx, dword [ebp + 0x70]
mov eax, dword [ecx + 0xdc]
test eax, eax
je 0x1005b31e
mov dword [esp + 0x64], eax
push esi
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x44], 0
mov ecx, 0x3ff
jne 0x1005ac93
movzx eax, word [esp + 0x30]
add esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x2c]
jae 0x1005cdfd
mov ax, word [esi]
and ax, cx
movzx eax, ax
add eax, eax
add eax, eax
add eax, eax
test byte [eax + 0x100ddc91], 7
jne 0x1009a080
movzx eax, byte [eax + 0x100ddc90]
add ax, 2
movzx eax, ax
mov word [esp + 0x30], ax
movzx ebx, word [esi]
movzx ecx, bx
mov eax, ecx
and eax, 0x3ff
sub eax, 0x46
mov dword [esp + 0x14], ebx
cmp eax, 0xbe
ja case.0x1005afe4.71
lea esp, [esp]
movzx eax, byte [eax + 0x1005bc4c]
jmp dword [eax*4 + 0x1005bc10]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x78]
inc eax
push eax
mov ecx, ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
call fcn.100e1836
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x74], 0
jne 0x1005af60
mov eax, 0x104
cmp bx, ax
je 0x1005c073
lea ecx, [ecx]
mov eax, ebx
and eax, 0x3ff
add eax, 0xffffffb8
cmp eax, 0xaf
ja case.0x1005b053.73
movzx eax, byte [eax + 0x1005be0c]
jmp dword [eax*4 + 0x1005bde4]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x78]
inc eax
push eax
mov ecx, ebp
mov dword [esp + 0x60], eax
call fcn.100e1836
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x44], 0
jne 0x1005b0e8
movzx eax, word [esp + 0x30]
add esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x2c]
jae 0x1005b0ff
mov ax, word [esi]
mov ecx, 0x3ff
and ax, cx
movzx eax, ax
add eax, eax
add eax, eax
add eax, eax
test byte [eax + 0x100ddc91], 7
jne 0x1005c0ba
movzx eax, byte [eax + 0x100ddc90]
add ax, 2
movzx eax, ax
mov word [esp + 0x30], ax
movzx eax, word [esi]
movzx ebx, ax
mov dword [esp + 0x14], ebx
mov eax, 0x104
cmp bx, ax
je 0x1005c073
mov edi, dword [esp + 0x10]
jmp 0x1005b03b
lea ecx, [esp + 0x18]
call fcn.100ddc18
mov esi, dword [esp + 0x24]
jmp 0x1005b0e1
movzx eax, word [ebp + 0x64]
sub eax, dword [ebp + 0x5dc]
je 0x1005cf12
push ebx
push ebx
lea eax, [ebp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.100e16c1
mov ecx, dword [ebp + 0x70]
mov ecx, dword [ecx + 0x24]
mov eax, ebx
mov dword [esp + 0x70], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], eax
call fcn.1000b090
mov eax, dword [edi + 0x34]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x90]
push eax
push ebx
mov ecx, ebp
call fcn.1015692e
mov ebx, dword [esp + 0x10]
jmp 0x1005af46
lea eax, [esp + 0x64]
push eax
call fcn.10021285
test eax, eax
jns 0x1005af5b
pop edi
pop ebp
pop ebx
add esp, 0xe8
ret 8
xor esi, esi
jmp 0x100a1510
test cl, 1
je 0x1005b353
cmp word [esi + 0x12], 1
jne 0x100a154a
movzx ecx, word [esi + 2]
mov eax, ecx
and eax, 0xfffffffe
cmp eax, 0xfffe
jne 0x1005b368
lea ecx, [eax + 1]
jmp 0x1005b36b
and ecx, 0xfffffffe
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x88]
push eax
push ecx
mov ecx, dword [esi + 0x90]
call fcn.10029782
test eax, eax
js 0x100a5ccf
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 0x24]
push dword [esp + 0x88]
mov ecx, dword [eax + 0x5c]
call fcn.100275dc
push dword [esp + 0x88]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x100a154a
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x28]
movzx eax, word [esp + 0x1c]
push ecx
push eax
push esi
call fcn.1000b028
mov ecx, dword [esp + 0x44]
push eax
call fcn.101d6be4
test eax, eax
jns 0x100a154a
jmp 0x100a5ccf
xor eax, eax
jmp 0x100a156f
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x94]
push eax
push edi
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, ebp
call fcn.101d60f7
test eax, eax
js 0x100a5ccf
cmp dword [esp + 0x8c], 0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
jne 0x1005b5b6
jmp 0x1009a552
movzx ebx, bx
jmp 0x100a17dc
lea ecx, [esp + 0x18]
call fcn.100ddc18
mov esi, dword [esp + 0x24]
jmp 0x100a16d8
xor eax, eax
jmp 0x100a170c
xor ecx, ecx
jmp 0x100a171e
mov cl, byte [esi + 4]
and cl, 0x3f
xor edx, edx
cmp cl, 0x25
setne dl
test edx, edx
je 0x100a1753
or byte [esi + 5], 0x10
jmp 0x100a1753
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x44]
movzx eax, word [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
lea ecx, [eax + edx]
mov eax, dword [edx + eax]
xor eax, dword [ecx]
mov dword [esp + 0x70], 1
and eax, 0x7fbff
xor eax, dword [ecx]
or eax, 0x400
mov dword [ecx], eax
jmp 0x100a1836
mov esi, dword [esp + 0x3c]
mov edx, dword [esi]
push 0
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xa0]
push eax
movzx eax, word [esp + 0x2c]
push 0x101d79dc
push eax
mov ecx, esi
call dword [edx]
push dword [esp + 0x40]
movzx eax, word [esp + 0x20]
lea ecx, [esp + 0x98]
push ecx
push eax
mov ecx, esi
call fcn.101ba312
push eax
mov ecx, esi
call fcn.101d6c0b
xor esi, esi
mov edi, eax
cmp dword [esp + 0x40], esi
jbe 0x1005b52c
push dword [esp + esi*4 + 0x94]
call sub.OLEAUT32.dll_SysStringLen
inc esi
cmp esi, dword [esp + 0x40]
jb 0x1005b519
test edi, edi
jns 0x100a1589
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0xe8
ret 8
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
mov ebp, dword [esp + 0x3c]
or ax, 0xa
mov word [0x10239120], ax
mov word [0x10239128], di
mov word [0x10239132], si
mov eax, 0x9c76
mov word [0x10239122], ax
mov eax, dword [ebp + 0x70]
mov dword [0x1023911c], eax
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp + 0x70]
mov eax, 0x200
test word [ecx + 0x96], ax
jne 0x1005bbfa
push 0x800a9c64
call fcn.101b7d4e
test eax, eax
js 0x100a5ccf
mov esi, dword [esp + 0x24]
movzx ecx, bx
mov eax, ecx
and eax, 0x3ff
sub eax, 0x46
cmp eax, 0xbe
ja case.0x1005afe4.71
mov edi, dword [esp + 0x10]
jmp 0x1005afdd
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
mov ebp, dword [esp + 0x3c]
or ax, 0xa
mov word [0x10239120], ax
mov eax, 7
jmp 0x1005b9ed
cmp dword [esp + 0x44], 0
jne case.0x1005afe4.70
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add dword [esp + 0x20], 4
cmp eax, 0xffffffff
je case.0x1005afe4.70
push eax
mov ecx, edi
call fcn.1015692e
jmp 0x1005b01c
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add dword [esp + 0x20], 4
cmp eax, dword [edi + 4]
jbe 0x1005b647
xor edx, edx
jmp 0x1005b64b
mov edx, dword [edi]
add edx, eax
mov eax, 0x2000
test word [edx + 0x18], ax
jne case.0x1005afe4.70
mov eax, dword [ebp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x5c]
inc esi
test dword [eax + 0xa4], 0x10000
mov dword [esp + 0x6c], esi
mov ecx, esi
je 0x1005b686
and ecx, 0x6fffffff
or ecx, 0x10000000
mov esi, 0xbfff
and word [edx + 0x18], si
mov dword [edx + 8], ecx
jmp 0x1005b01c
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov eax, 0x9c75
jmp 0x1005b9ed
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov eax, 0xe356
jmp 0x1005b9ed
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov eax, 0x9c79
jmp 0x1005b9ed
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x28]
movzx esi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov word [0x10239128], si
mov word [0x10239132], di
mov eax, 0x9c7a
jmp 0x1005b9fb
cmp dword [esp + 0x7c], 0
je 0x1005b770
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x28]
movzx eax, word [esp + 0x1c]
push ecx
push eax
push 0x9c7a
mov ecx, ebp
call fcn.101d6be4
jmp 0x1005ba31
mov dword [esp + 0x78], 1
mov ecx, 1
xor edx, edx
lea eax, [ebp + 6]
test ecx, esi
je 0x1005b78f
cmp word [eax], 0
jne 0x1005b70f
mov word [eax], di
inc edx
add ecx, ecx
add eax, 2
cmp edx, 0x1a
jae 0x1009a552
jmp 0x1005b782
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1005b7c4
sub esi, dword [esp + 0x28]
movzx eax, word [esp + 0x1c]
push esi
push eax
push 0x9c77
mov ecx, ebp
call fcn.101d6be4
jmp 0x1005beec
cmp dword [esp + 0x60], 0
je 0x1005b7ef
sub esi, dword [esp + 0x28]
movzx eax, word [esp + 0x1c]
push esi
push eax
push 0x9c78
mov ecx, ebp
call fcn.101d6be4
test eax, eax
jns 0x1005b01c
jmp 0x100a5ccf
mov ecx, 0xfffe
and word [ebp + 4], cx
mov dword [esp + 0x60], 1
jmp case.0x1005afe4.70
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x1005b7a8
cmp dword [esp + 0x60], eax
je 0x1005b825
sub esi, dword [esp + 0x28]
movzx eax, word [esp + 0x1c]
push esi
push eax
push 0x9c78
jmp 0x1005b7b8
or word [ebp + 4], 1
mov dword [esp + 0x60], 1
jmp case.0x1005afe4.70
cmp dword [esp + 0x54], 0
jne 0x1005b813
or word [ebp + 4], 2
mov dword [esp + 0x54], 1
jmp case.0x1005afe4.70
cmp dword [esp + 0x54], 0
jne 0x1005b813
or word [ebp + 4], 4
mov dword [esp + 0x54], 1
jmp case.0x1005afe4.70
cmp dword [esp + 0x54], 0
jne 0x1005b813
mov ecx, 0xfffd
and word [ebp + 4], cx
mov dword [esp + 0x54], 1
jmp case.0x1005afe4.70
mov edx, dword [ebp]
push 0
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xa0]
push eax
movzx eax, word [esp + 0x2c]
push 0x101d79dc
push eax
mov ecx, ebp
call dword [edx]
push dword [esp + 0x40]
movzx eax, word [esp + 0x20]
lea ecx, [esp + 0x98]
push ecx
push eax
mov ecx, ebp
call fcn.101ba312
mov ecx, dword [ebp + 0x70]
mov edi, eax
mov eax, 0x200
test word [ecx + 0x96], ax
jne 0x1005b8e5
cmp edi, 0x800a9c64
jne 0x1005b8e5
push edi
call fcn.101b7d4e
mov edi, eax
xor esi, esi
cmp dword [esp + 0x40], esi
jbe 0x1005b900
push dword [esp + esi*4 + 0x94]
call sub.OLEAUT32.dll_SysStringLen
inc esi
cmp esi, dword [esp + 0x40]
jb 0x1005b8ed
test edi, edi
jns 0x1009a552
jmp 0x1005b534
movzx eax, word [esp + 0x1c]
mov edx, dword [ebp + 0x44]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
lea ecx, [eax + edx]
mov eax, dword [edx + eax]
xor eax, dword [ecx]
and eax, 0x7fbff
xor eax, dword [ecx]
or eax, 0x400
mov dword [ecx], eax
mov esi, dword [esp + 0x24]
mov eax, ebx
and eax, 0x3ff
cmp eax, 0x96
je case.0x1005afe4.150
mov edi, 0x3ff
movzx eax, word [esp + 0x30]
add esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x2c]
jb 0x1005b974
lea ecx, [esp + 0x18]
call fcn.100ddc18
mov esi, dword [esp + 0x24]
jmp 0x1005b9ae
mov ax, word [esi]
and ax, di
movzx eax, ax
add eax, eax
add eax, eax
add eax, eax
test byte [eax + 0x100ddc91], 7
je 0x1005b998
push esi
call fcn.100ddb70
mov esi, dword [esp + 0x24]
jmp 0x1005b9a3
movzx eax, byte [eax + 0x100ddc90]
add ax, 2
movzx eax, ax
mov word [esp + 0x30], ax
movzx eax, word [esi]
movzx ebx, ax
and eax, 0x3ff
mov dword [esp + 0x14], ebx
cmp eax, 0x96
jne 0x1005b94d
mov edi, dword [esp + 0x10]
jmp case.0x1005afe4.150
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov eax, 0x9c73
mov word [0x10239128], di
mov word [0x10239132], si
mov word [0x10239122], ax
mov eax, dword [ebp + 0x70]
mov dword [0x1023911c], eax
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp + 0x70]
mov eax, 0x200
test word [ecx + 0x96], ax
jne 0x1005bbfa
push 0x800a9c64
call fcn.101b7d4e
test eax, eax
jns 0x1009a552
jmp 0x100a5ccf
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add dword [esp + 0x20], 4
cmp eax, dword [edi + 4]
jbe 0x1005ba52
xor edx, edx
jmp 0x1005ba56
mov edx, dword [edi]
add edx, eax
mov eax, 0x2000
test word [edx + 0x18], ax
jne case.0x1005b053.73
mov eax, dword [ebp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x5c]
inc esi
test dword [eax + 0xa4], 0x10000
mov dword [esp + 0x6c], esi
mov ecx, esi
je 0x1005ba91
and ecx, 0x6fffffff
or ecx, 0x10000000
mov esi, 0xbfff
and word [edx + 0x18], si
mov dword [edx + 8], ecx
jmp 0x1005b087
xor eax, eax
or byte [eax + 0x26], 4
jmp 0x1005b087
movzx edx, word [esp + 0x1c]
mov eax, dword [ebp + 0x44]
lea ecx, [edx + edx*2]
test byte [eax + ecx*4], 2
je case.0x1005b053.73
mov eax, dword [ebp]
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0xa0]
push ecx
push 0x101d79dc
push edx
mov ecx, ebp
call dword [eax]
push dword [esp + 0x40]
movzx eax, word [esp + 0x20]
lea ecx, [esp + 0x98]
push ecx
push eax
mov ecx, ebp
call fcn.101ba312
mov ecx, dword [ebp + 0x70]
mov edi, eax
mov eax, 0x200
test word [ecx + 0x96], ax
jne 0x1005bb1c
cmp edi, 0x800a9c64
jne 0x1005bb1c
push edi
call fcn.101b7d4e
mov edi, eax
xor esi, esi
cmp dword [esp + 0x40], esi
jbe 0x1005bb37
push dword [esp + esi*4 + 0x94]
call sub.OLEAUT32.dll_SysStringLen
inc esi
cmp esi, dword [esp + 0x40]
jb 0x1005bb24
test edi, edi
jns 0x1005b087
jmp 0x1005b534
movzx eax, word [esp + 0x1c]
mov edx, dword [ebp + 0x44]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
lea ecx, [eax + edx]
mov eax, dword [edx + eax]
xor eax, dword [ecx]
and eax, 0x7fbff
xor eax, dword [ecx]
or eax, 0x400
mov dword [ecx], eax
jmp 0x1005b087
sub esi, dword [esp + 0x28]
movzx edi, word [esp + 0x1c]
call fcn.100dcbfb
mov ax, word [0x10239120]
or ax, 0xa
mov word [0x10239120], ax
mov word [0x10239128], di
mov word [0x10239132], si
mov eax, 0x9cd3
mov word [0x10239122], ax
mov eax, dword [ebp + 0x70]
mov dword [0x1023911c], eax
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp + 0x70]
mov eax, 0x200
test word [ecx + 0x96], ax
jne 0x1005bbfa
push 0x800a9c64
call fcn.101b7d4e
test eax, eax
jns 0x1005b087
jmp 0x100a5ccf
mov eax, dword [esp + 0x4c]
cmp eax, dword [edi + 4]
jbe 0x1005bbeb
xor eax, eax
jmp 0x1005bbf1
mov eax, dword [edi]
add eax, dword [esp + 0x4c]
or byte [eax + 0x3b], 0x80
jmp 0x1005b087
mov eax, 0x800a9c64
jmp 0x100a5ccf
pop edi
pop ebp
pop ebx
add esp, 0xe8
ret 8
cmp dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x5c], 1
je case.0x1005afe4.70
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
mov ecx, ebp
call fcn.1005ac9b
test eax, eax
jns 0x1005b01c
jmp 0x100a5ccf
cmp dword [esp + 0xfc], 0
mov dword [esp + 0x20], 0
jne 0x1005c09a
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x70]
push eax
call fcn.1005c021
test eax, eax
js 0x100a5ccf
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe8
ret 8
test ebx, 0x8000
je case.0x1005b053.73
jmp 0x1005bbde
push esi
call fcn.100ddb70
mov esi, dword [esp + 0x24]
jmp 0x1005b0d6
test ebx, 0x8000
je case.0x1005b053.73
jmp 0x1005bb6e
lea ecx, [esp + 0x18]
call fcn.100ddc18
mov esi, dword [esp + 0x24]
movzx ebx, ax
jmp 0x1005afbe
movzx eax, bx
shr eax, 0xa
cmp eax, 7
ja case.0x1005afe4.70
jmp dword [eax*4 + 0x1005bdc4]
cmp dword [esp + 0x84], 0
jne 0x1005b813
or word [ebp + 4], 0x10
mov dword [esp + 0x84], 1
jmp case.0x1005afe4.70
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe8
ret 8
cmp dword [esp + 0x80], 0
jne 0x1005b813
mov dword [esp + 0x80], 1
jmp case.0x1005afe4.70
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x114]
mov ecx, ebp
push dword [esp + 0x114]
call fcn.100d7cef
test eax, eax
js 0x100a5ccf
mov ebx, dword [esp + 0x14]
jmp 0x1005b01c
push esi
call fcn.100ddb70
mov esi, dword [esp + 0x24]
jmp 0x1005afb3
cmp dword [esp + 0x5c], 0
jne 0x1005b6e7
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
add dword [esp + 0x20], 4
movzx eax, bx
push 0
shr eax, 0xa
push eax
call fcn.10041e78
mov edi, eax
cmp esi, 0x3ffffff
jne 0x1005b749
cmp dword [esp + 0x7c], 0
jne 0x1005b70f
cmp dword [esp + 0x78], 0
jne 0x1005b70f
or word [ebp + 0x5d8], 1
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], 1
mov word [ebp + 6], di
mov edi, dword [esp + 0x10]
jmp 0x1005b01c
test ebx, 0x2c00
jmp 0x100c6866
movzx eax, word [edi + 0x28]
lea ebp, [edi + 0x28]
cmp eax, 0x28f5c28
je 0x1005b5db
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
add dword [esp + 0x20], 4
cmp edi, dword [eax + 4]
ja 0x1005b33c
mov esi, dword [eax]
add esi, edi
shr ecx, 0xa
mov dword [esp + 0x64], ecx
test cl, 2
jne 0x1005b343
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x70]
mov ecx, dword [eax + 0x24]
call fcn.1000b090
cmp eax, 8
jne 0x100a154a
test byte [esp + 0x64], 1
je 0x1005b353
cmp word [esi + 0x12], 1
je 0x1005b353
mov esi, dword [esp + 0x10]
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x38]
push eax
push edi
mov ecx, esi
call fcn.100266ac
inc word [ebp]
cmp edi, dword [esi + 4]
ja 0x1005b3e3
mov eax, dword [esi]
add eax, edi
or ebp, 0xffffffff
mov dword [esp + 0x64], eax
mov dword [eax + 8], 0xffffffff
test ebx, 0x800
jne 0x1005b3ea
mov edi, dword [esp + 0x10]
jmp 0x100a1836
mov eax, dword [esp + 0x64]
mov dword [eax + 8], edx
jmp 0x100a170f
mov ebp, dword [esp + 0x3c]
jmp case.0x1005afe4.70
mov eax, ebx
and eax, 0x3ff
cmp eax, 0xf2
je 0x100a16eb
mov edi, 0x3ff
movzx eax, word [esp + 0x30]
add esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x2c]
jae 0x1005b453
mov ax, word [esi]
and ax, di
movzx eax, ax
add eax, eax
add eax, eax
add eax, eax
test byte [eax + 0x100ddc91], 7
je 0x100a5c91
push esi
call fcn.100ddb70
mov esi, dword [esp + 0x24]
movzx eax, ax
mov word [esp + 0x30], ax
movzx eax, word [esi]
movzx ebx, ax
and eax, 0x3ff
cmp eax, 0xf2
jne 0x100a168b
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
add dword [esp + 0x20], 4
cmp ebp, 0xffffffff
je 0x100a1592
cmp ebp, dword [edi + 4]
ja 0x1005b465
mov eax, dword [edi]
add eax, ebp
mov dword [eax + 4], edx
mov ebp, edx
cmp edx, dword [edi + 4]
ja 0x1005b46c
mov ecx, dword [edi]
add ecx, edx
mov al, byte [ecx]
and byte [ecx + 1], 0xf8
and al, 0x77
or al, 8
push 0
mov dword [ecx + 4], 0xffffffff
mov byte [ecx], al
push edx
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.100e147f
mov esi, eax
mov cl, byte [esi]
and cl, 0x3f
cmp cl, 0x1d
je 0x1005b473
or byte [esi + 1], 0x10
mov ecx, esi
call fcn.100e14de
mov al, byte [eax]
and al, 0x3f
cmp al, 0x20
je 0x100a5ca1
mov ecx, esi
call fcn.100a159e
test eax, eax
je 0x100a1836
jmp 0x1005b492
cmp dword [esp + 0x44], 0
jne 0x1005b44b
movzx eax, word [esp + 0x30]
add esi, eax
lea eax, [esi + 2]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
cmp esi, dword [esp + 0x2c]
jae 0x100a1841
mov ax, word [esi]
mov ecx, 0x3ff
and ax, cx
movzx eax, ax
add eax, eax
add eax, eax
add eax, eax
test byte [eax + 0x100ddc91], 7
jne 0x100a5c82
movzx eax, byte [eax + 0x100ddc90]
add ax, 2
movzx eax, ax
mov word [esp + 0x30], ax
movzx ebx, word [esi]
mov eax, ebx
and eax, 0x3ff
add eax, 0xffffffba
mov dword [esp + 0x14], ebx
cmp eax, 0x9e
ja case.0x100a17fc.71
movzx eax, byte [eax + 0x1005bd24]
jmp dword [eax*4 + 0x1005bd0c]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
inc eax
push eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
call fcn.100e1836
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edi, edi
jmp case.0x100a17fc.70
lea ecx, [esp + 0x18]
call fcn.100ddc18
mov esi, dword [esp + 0x24]
movzx ebx, ax
jmp 0x100a17dc
push esi
call fcn.100ddb70
mov esi, dword [esp + 0x24]
jmp 0x100a17d1
movzx eax, byte [eax + 0x100ddc90]
add ax, 2
jmp 0x100a16cd
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x44]
movzx eax, word [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
lea ecx, [eax + edx]
mov eax, dword [edx + eax]
xor eax, dword [ecx]
and eax, 0x7fbff
xor eax, dword [ecx]
or eax, 0x400
mov dword [ecx], eax
jmp 0x100a176a
pop esi
jmp 0x1005bc04
test ebx, 0x400
je case.0x1005b053.73
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je case.0x1005b053.73
mov ecx, dword [ebp + 0x80]
cmp eax, dword [ecx + 4]
ja 0x1005baa2
mov eax, dword [ecx]
add eax, dword [esp + 0x4c]
or byte [eax + 0x26], 4
jmp 0x1005b087