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

Disassembly:
push 0xffffffffffffffff
push 0x1004f5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100682b0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0xac]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], eax
call fcn.10003e10
push eax
mov dword [esp + 0x90], 0
call fcn.100386f0
mov ebp, eax
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x8c], 0xffffffff
test eax, eax
je 0x10038c1a
mov esi, eax
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], esi
call fcn.1002f03c
mov eax, dword [esi + 4]
test eax, eax
je 0x10038bf4
cmp eax, 0xffffffff
jae 0x10038bf4
dec eax
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x24]
not esi
call fcn.1002f064
and esi, dword [esp + 0x30]
je 0x10038c16
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call fcn.100376c0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
mov dword [esp + 0x8c], 1
call eax
xor ecx, ecx
mov byte [esp + 0x30], al
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ecx
mov byte [esp + 0x48], cl
mov al, byte [edi]
mov byte [esp + 0x8c], 2
cmp al, 0x2b
je 0x10038c67
mov dword [esp + 0x24], ecx
cmp al, 0x2d
jne 0x10038c6f
mov dword [esp + 0x24], 1
call fcn.10028583
mov ecx, dword [eax]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x2c], dl
mov word [esp + 0x2d], 0x65
call fcn.10019b00
mov ebp, eax
movsx eax, byte [esp + 0x2c]
push ebx
push eax
push edi
call fcn.10019b00
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10038caa
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
mov eax, edx
cmp ecx, 0x10
jae 0x10038cbd
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x10038dfc
mov eax, edx
cmp ecx, 0x10
jae 0x10038cd1
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x10038dfc
push ebx
push edi
lea ecx, [esp + 0x50]
call fcn.10007030
test ebp, ebp
jne 0x10038cff
mov ecx, dword [esp + 0x18]
push 0x30
push ecx
lea ecx, [esp + 0x50]
call fcn.10001350
mov esi, dword [esp + 0x14]
jmp 0x10038d2e
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10038d1b
mov edx, dword [esp + 0x1c]
push 0x30
push edx
lea ecx, [esp + 0x50]
call fcn.10001350
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x18]
push 0x30
push eax
sub ebp, edi
push ebp
lea ecx, [esp + 0x54]
call fcn.100385b0
push 0x30
test esi, esi
jne 0x10038d44
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.10001350
jmp 0x10038d71
mov edx, dword [esp + 0x40]
sub esi, edi
push edx
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x54]
call fcn.100385b0
mov ecx, dword [esp + 0x1c]
push 0x30
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.100385b0
mov dword [esp + 0x3c], 0
mov edi, dword [esp + 0x64]
mov ebx, 0x10
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x78], ebx
jae 0x10038d8c
lea edi, [esp + 0x64]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x10038d9a
lea eax, [esp + 0x48]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.1002a760
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x10038dde
test al, al
jle 0x10038dde
mov ecx, esi
sub ecx, dword [esp + 0x24]
movsx eax, al
cmp eax, ecx
jae 0x10038dde
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x54]
call fcn.100385b0
cmp byte [edi + 1], 0
jle 0x10038dd8
inc edi
mov al, byte [edi]
cmp al, 0x7f
jne 0x10038db0
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x10038dec
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
lea eax, [ebx + edx]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
cmp dword [esi + 0x24], 0
jl 0x10038e26
jg 0x10038e1a
test ecx, ecx
je 0x10038e26
cmp ecx, eax
jbe 0x10038e26
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x10038e2e
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x94]
and eax, 0x1c0
cmp eax, 0x40
je 0x10038ed0
cmp eax, 0x100
jne 0x10038e8a
cmp dword [esp + 0x24], 0
jbe 0x10038e8a
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push 1
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.10036dd0
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
add esp, 0x18
inc edi
mov dword [esp + 0xa0], edx
dec ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.10036e40
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0xb8], eax
add esp, 0x18
movsx ecx, byte [esp + 0x20]
push ebx
push ecx
push edi
call fcn.10019b00
add esp, 0xc
test eax, eax
je 0x10038fcb
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xa0]
sub eax, edi
push edx
mov edx, dword [esp + 0xa0]
lea ebp, [eax + 1]
lea eax, [ebp - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.10036eb0
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0xc0], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.10036e40
mov edx, dword [eax]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xd0], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xd4], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x34
call eax
mov edx, dword [esp + 0xa0]
push 1
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.10036e40
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.10036e40
mov ecx, dword [eax]
mov dword [esp + 0xcc], ecx
mov edx, dword [eax + 4]
add esp, 0x30
add edi, ebp
mov dword [esp + 0xa0], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.10019b00
add esp, 0xc
test eax, eax
je 0x10039096
mov edx, dword [esp + 0xa0]
sub eax, edi
lea ebp, [eax + 1]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0xa0]
lea ecx, [ebp - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.10036eb0
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x60]
push eax
push esi
call fcn.10036e40
mov ecx, dword [eax]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [eax + 4]
add esp, 0x34
test byte [ecx + 0x14], 4
mov dword [esp + 0xa0], edx
mov dword [esp + 0x18], 0
mov ecx, 0x100590c4
jne 0x10039067
mov ecx, 0x100590c0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10036dd0
mov edx, dword [eax]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebp
mov dword [esp + 0xa0], eax
sub ebx, ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.10036eb0
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x60]
push eax
push esi
call fcn.10036e40
mov ecx, dword [eax]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
mov dword [esp + 0xd0], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0xe0]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xec], eax
call fcn.10036e40
mov esi, 0x10
add esp, 0x4c
cmp dword [esp + 0x5c], esi
jb 0x10039138
mov eax, dword [esp + 0x48]
push eax
call fcn.10019165
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0x1003915b
mov ecx, dword [esp + 0x64]
push ecx
call fcn.10019165
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10019170
add esp, 0x7c
ret