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

Disassembly:
sub esp, 0x7c
mov edx, dword [esp + 0x84]
push ebx
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
xor edi, edi
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [edx + 0xc], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov al, byte [esi]
cmp al, 0x20
je 0x10003ae0
cmp al, 9
jne 0x10003ae3
inc esi
jmp 0x10003ad6
cmp byte [esi], 0
mov dword [esp + 0x90], esi
je 0x10003e0b
movsx eax, byte [esi]
xor ebp, ebp
push eax
mov edi, esi
mov dword [esp + 0x18], ebp
call fcn.10046186
add esp, 4
test eax, eax
je 0x10003b31
jmp 0x10003b10
movsx edx, byte [edi]
movsx eax, byte [edi + 1]
inc edi
lea ecx, [ebp + ebp*4]
push eax
lea ebp, [edx + ecx*2 - 0x30]
call fcn.10046186
add esp, 4
test eax, eax
jne 0x10003b10
mov dword [esp + 0x14], ebp
cmp edi, esi
mov bl, byte [edi]
jbe 0x10003bbf
cmp bl, 0x2f
je 0x10003b53
cmp bl, 0x3a
je 0x10003b53
cmp bl, 0x2e
je 0x10003b53
cmp bl, 0x2d
je 0x10003b53
test bl, bl
jne 0x10003bbf
mov eax, dword [esp + 0x58]
cmp eax, 5
mov dword [esp + 0x2c], 0
jge 0x100041b9
mov dword [esp + eax*4 + 0x5c], ebp
mov edx, dword [esp + 0x58]
mov ecx, edi
sub ecx, esi
mov dword [esp + edx*4 + 0x74], ecx
mov ecx, dword [esp + 0x58]
inc ecx
test bl, bl
mov dword [esp + 0x58], ecx
jne 0x10003b9d
mov esi, edi
mov dword [esp + 0x90], esi
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
jmp dword [ebp*4 + 0x100041dc]
mov al, byte [edi + 1]
cmp al, 0x20
lea esi, [edi + 1]
mov dword [esp + 0x90], esi
je 0x10003bb2
cmp al, 9
jne 0x10003b8e
mov al, byte [esi]
cmp al, 0x20
je case.default.0x10003b96
cmp al, 9
jne 0x10003b87
inc esi
jmp 0x10003bb2
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x34], 0
call fcn.10003870
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x10003c15
cmp dword [esp + 0x58], 5
jge 0x100041b9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edi, [esp + 0x60]
call fcn.100030b0
mov esi, dword [esp + 0x98]
add esp, 8
mov bl, al
cmp ebp, 4
mov edi, dword [esp + 0x58]
ja 0x100041b9
jmp switch.0x10003b96
cmp bl, 0x3a
je 0x10003cc7
cmp bl, 0x2e
jne 0x10003c8e
cmp edi, 4
je 0x10003cc7
mov ebp, 1
cmp edi, 3
jl 0x10003c50
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10003c67
mov edx, dword [esp + 0x94]
mov byte [edx + 6], 1
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10003ca3
cmp edi, ebp
jne 0x10003de2
cmp dword [esp + 0x74], 4
jb 0x10003de2
mov dword [esp + 0x98], ebp
jmp 0x10003de2
cmp bl, 0x2f
je 0x10003c98
cmp bl, 0x2d
jne 0x10003c3e
mov ebp, 1
mov dword [esp + 0x24], ebp
jmp 0x10003c43
test eax, eax
jne 0x10003de2
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov byte [ecx + 6], al
mov dword [esp + 0x1c], ebp
jmp 0x10003de2
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x100041b9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100041b9
mov ebx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [ebx + 7], dl
movsx eax, byte [esi]
mov ebp, 1
push eax
mov dword [esp + 0x24], ebp
call fcn.10046186
add esp, 4
test eax, eax
je 0x10003de2
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x94]
push edx
lea edi, [esp + 0x60]
call fcn.100030b0
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x3a
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 8], cl
je 0x10003d44
cmp al, 0x2e
jne 0x10003ddb
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.100030b0
mov ecx, dword [esp + 0x60]
add esp, 8
dec ecx
cmp al, 0x2e
mov dword [esp + 0x58], ecx
mov cl, byte [esp + ecx*4 + 0x5c]
mov byte [ebx + 9], cl
je 0x10003d75
cmp al, 0x3a
jne 0x10003ddb
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
lea edi, [esp + 0x60]
call fcn.100030b0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + ecx*4 + 0x78]
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp edx, 6
jae 0x10003db3
mov eax, 6
sub eax, edx
add edx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 1
dec eax
jne 0x10003da8
cmp edx, 6
jbe 0x10003dcf
lea esi, [edx - 6]
jmp 0x10003dc0
mov eax, 0xcccccccd
mul ecx
shr edx, 3
dec esi
mov ecx, edx
jne 0x10003dc0
mov eax, dword [esp + 0x58]
dec eax
mov dword [ebx + 0xc], ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x90]
cmp byte [esi], 0
mov edi, ebp
jne 0x10003af3
cmp dword [esp + 0x58], 3
je 0x10003e6b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10003e0b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10003e0b
cmp dword [esp + 0x58], 1
je 0x10003e6b
lea edx, [esp + 0x48]
push edx
call fcn.10002cf0
mov cx, word [esp + 0x50]
mov eax, dword [esp + 0x98]
mov dx, word [esp + 0x4c]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x38]
add esp, 4
test ecx, ecx
mov word [eax], dx
jne 0x10003e3f
mov cl, byte [esp + 0x4b]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10003e4e
mov dl, byte [esp + 0x4a]
mov byte [eax + 2], dl
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10003e6b
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov ecx, 1
jne 0x10003e68
movzx ecx, byte [esp + 0x4e]
mov byte [eax + 6], cl
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x10004025
test edi, edi
jne 0x100041aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003e90
sub eax, edx
add eax, esi
call fcn.10003060
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x10003ed7
test edi, edi
jle 0x100041b9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], dl
mov dword [esp + 0x20], ebp
jmp 0x10003ee3
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jae 0x10003de2
add al, 0xc
mov byte [ecx + 7], al
jmp 0x10003de2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003f00
sub eax, edx
add eax, esi
call fcn.10003060
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x90], esi
jne 0x10003f47
test edi, edi
jle 0x100041b9
mov ecx, dword [esp + 0x94]
dec edi
mov dword [esp + 0x58], edi
mov al, byte [esp + edi*4 + 0x5c]
mov ebp, 1
mov byte [ecx + 7], al
mov dword [esp + 0x20], ebp
jmp 0x10003f53
mov ecx, dword [esp + 0x94]
mov ebp, 1
mov al, byte [ecx + 7]
cmp al, 0xc
jne 0x10003f63
mov byte [ecx + 7], 0
jmp 0x10003de2
ja 0x100041b9
jmp 0x10003de2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003f75
sub eax, edx
add eax, esi
call fcn.10003060
mov cl, byte [esp + 0x13]
mov esi, eax
mov eax, dword [esp + 0x94]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x90], esi
jne 0x100041b9
cmp dword [esp + 0x98], 3
mov ebp, 1
mov dword [esp + 0x18], ebp
mov byte [eax + 6], 1
mov dword [esp + 0x30], ebp
jne 0x10003de2
test edi, edi
mov dword [esp + 0x1c], ebp
jle 0x10003de2
dec edi
mov dword [esp + 0x58], edi
mov dl, byte [esp + edi*4 + 0x5c]
mov byte [eax + 6], dl
jmp 0x10003de2
lea eax, [esp + 0x38]
lea edx, [eax + 1]
jmp 0x10003ff0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003ff0
sub eax, edx
add eax, esi
call fcn.10003060
mov ecx, dword [esp + 0x94]
mov esi, eax
mov al, byte [esp + 0x13]
mov ebp, 1
mov dword [esp + 0x90], esi
mov byte [ecx + 3], al
mov dword [esp + 0x34], ebp
jmp 0x10003de2
cmp eax, 1
jne 0x1000410d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000405b
mov eax, dword [esp + 0x74]
mov cx, word [esp + 0x5c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov word [esi], cx
jne 0x100040ca
mov byte [esi + 6], 1
jmp 0x100040ca
mov edi, dword [esp + 0x5c]
push 0x64
push edi
call fcn.1004612d
mov ecx, dword [esp + 0x7c]
add esp, 8
cmp ecx, 6
je 0x100040ad
cmp ecx, 8
je 0x100040ad
cmp ecx, 4
jne 0x100041b9
mov esi, dword [esp + 0x94]
push 0x64
push edi
mov byte [esi + 6], 1
call fcn.1004612d
mov ecx, dword [esp + 0xa0]
add esp, 8
cmp ecx, 1
je 0x100040c2
dec al
mov byte [esi + 2], al
mov word [esi], dx
jmp 0x100040ca
mov esi, dword [esp + 0x94]
push 0x64
push eax
mov byte [esi + 6], dl
call fcn.1004612d
add esp, 8
dec dl
mov byte [esi + 2], dl
mov word [esi], ax
mov ax, word [esi]
cmp ax, 0x64
jae 0x100041cb
cmp dword [esp + 0x28], 2
ja 0x100041cb
mov edx, dword [esp + 0xa0]
movzx ecx, ax
cmp ecx, edx
jae 0x100041c3
add eax, 0x7d0
push esi
mov word [esi], ax
call fcn.100037e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp eax, 3
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
jne 0x1000414f
cmp ecx, 1
je 0x1000413e
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
mov dx, word [esp + 0x64]
mov eax, 2
mov dword [esp + 0x58], eax
mov word [esi], dx
cmp ecx, 3
je 0x1000414f
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x10004165
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
dec dl
mov byte [esi + 2], dl
cmp ecx, 3
jne 0x10004186
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10004186
test eax, eax
jle 0x100040ca
dec eax
mov dword [esp + 0x58], eax
mov dl, byte [esp + eax*4 + 0x5c]
mov byte [esi + 6], dl
test eax, eax
jle 0x100040ca
cmp ecx, 1
jne 0x100041b1
mov ecx, dword [esp + eax*4 + 0x70]
dec eax
mov dword [esp + 0x58], eax
mov dx, word [esp + eax*4 + 0x5c]
mov dword [esp + 0x28], ecx
mov word [esi], dx
jmp 0x100041b1
mov esi, dword [esp + 0x94]
test eax, eax
jle 0x100040ca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret
add eax, 0x76c
mov word [esi], ax
push esi
call fcn.100037e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret