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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006bc56
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1008f210]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
lea eax, [esp + 0x2c]
call fcn.10039c13
xor edi, edi
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [esp + 0x30], edi
jne 0x1003b030
mov esi, 0x80070057
push dword [esp + 0x2c]
call fcn.1004d030
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [esi]
cmp ax, 0x58
jne 0x1003b05e
xor eax, eax
inc eax
lea esi, [esp + 0x2c]
call fcn.1003b536
add ebx, 0x3c
mov dword [ebx], 9
mov edx, dword [ebp + 8]
lea eax, [esp + 0x2c]
call fcn.10040128
mov esi, eax
jmp 0x1003b00f
cmp ax, 0x53
jne 0x1003b095
xor eax, eax
inc eax
lea esi, [esp + 0x2c]
call fcn.1003b536
cmp dword [esp + 0x30], edi
jne 0x1003b080
push dword [ebp + 8]
call fcn.1003ae9c
jmp 0x1003b05a
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x1003b00a
lea ecx, [esp + 0x2c]
mov eax, ebx
call fcn.1003adbc
jmp 0x1003b05a
mov ecx, 0x1007cd58
lea eax, [esp + 0x2c]
call fcn.1003b7fb
test eax, eax
jne 0x1003b0be
push 3
add ebx, 4
pop eax
lea esi, [esp + 0x2c]
mov dword [ebx], 4
call fcn.1003b536
jmp 0x1003b04e
lea edi, [esp + 0x14]
lea eax, [esp + 0x2c]
call fcn.1004036c
mov esi, eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
call fcn.1003b4f9
mov byte [esp + 0x70], 1
test esi, esi
jne 0x1003b29d
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x30]
push eax
push 2
pop ecx
call fcn.1003b51a
push 0x1007cd60
push dword [eax]
call fcn.10033eb1
push dword [esp + 0x40]
neg eax
sbb al, al
inc al
mov byte [esp + 0x1f], al
call fcn.1004d030
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x1003b168
push 2
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
call fcn.1003b4f9
mov ecx, dword [ebp + 8]
mov byte [esp + 0x70], 2
push dword [ebx + 0x48]
call fcn.1004039b
pop ecx
push dword [esp + 0x38]
mov esi, eax
call fcn.1004d030
pop ecx
test esi, esi
je 0x1003b223
push dword [esp + 0x20]
call fcn.1004d030
pop ecx
jmp 0x1003b00f
mov esi, dword [esp + 0x2c]
push str.RSFX
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b18c
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp + 8]
call fcn.10040300
mov esi, eax
jmp 0x1003b159
push 0x1007cd74
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b1a2
lea ecx, [ebx + 0x38]
jmp 0x1003b180
push 0x1007cd78
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b1b8
lea ecx, [ebx + 0x32]
jmp 0x1003b180
push 0x1007cd80
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b1f9
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 1
call fcn.10040300
mov esi, eax
test esi, esi
jne 0x1003b159
cmp byte [esp + 0x13], al
jne 0x1003b223
push dword [esp + 0x20]
call fcn.1004d030
pop ecx
jmp 0x1003b00a
push 0x1007cd88
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b234
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x34]
call fcn.10040300
mov esi, eax
test esi, esi
jne 0x1003b159
mov byte [ebx + 0x33], 1
push dword [esp + 0x20]
call fcn.1004d030
pop ecx
xor esi, esi
jmp 0x1003b00f
push 0x1007cd90
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b24d
lea ecx, [ebx + 0x35]
jmp 0x1003b180
push 0x1007cd98
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b266
lea ecx, [ebx + 0x36]
jmp 0x1003b180
push 0x1007cda0
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b27f
lea ecx, [ebx + 0x37]
jmp 0x1003b180
push 0x1007cda8
push esi
call fcn.10033eb1
pop ecx
pop ecx
test eax, eax
jne 0x1003b298
lea ecx, [ebx + 0x40]
jmp 0x1003b180
and dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
cmp esi, 0x2710
jbe 0x1003b2bd
push dword [esp + 0x20]
call fcn.1004d030
pop ecx
mov esi, 0x80004005
jmp 0x1003b00f
mov eax, dword [ebx + 0x44]
cmp esi, eax
jb 0x1003b1ea
sub esi, eax
mov eax, dword [ebx + 0x10]
cmp eax, esi
mov dword [esp + 0x14], esi
jg 0x1003b310
sub esi, eax
lea edi, [ebx + 8]
inc esi
lea eax, [esp + 0x44]
push eax
call fcn.1003b46d
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 3
call fcn.1003b564
mov byte [esp + 0x70], 1
push dword [esp + 0x58]
call fcn.1004d030
pop ecx
lea eax, [esp + 0x44]
push eax
call fcn.10039d7a
dec esi
jne 0x1003b2db
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], edi
jne 0x1003b357
mov eax, dword [ebp + 8]
cmp word [eax], 8
jne 0x1003b1ea
mov edi, dword [eax + 8]
lea eax, [esp + 0x38]
call fcn.10039c13
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x1c]
mov byte [esp + 0x78], 4
call fcn.1003ace8
jmp 0x1003b145
lea eax, [esp + 0x20]
push eax
call fcn.1003a58a
cmp eax, edi
pop ecx
jl 0x1003b1ea
imul eax, eax, 0xc
xor ecx, ecx
mov esi, 0x10090b00
add eax, esi
mov word [esp + 0x4c], cx
mov word [esp + 0x4e], cx
mov byte [esp + 0x70], 5
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
cmp ecx, 4
je 0x1003b3e4
cmp ecx, 1
je 0x1003b3e4
cmp ecx, 2
je 0x1003b3e4
lea eax, [esp + 0x20]
push eax
call fcn.1003a554
cmp eax, edi
pop ecx
jge 0x1003b3b7
lea ecx, [esp + 0x4c]
call fcn.10038756
jmp 0x1003b1ea
imul eax, eax, 0xc
add eax, esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov ax, word [eax + 4]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
call fcn.1003a4e2
add esp, 0x10
test al, al
jne 0x1003b452
jmp 0x1003b3a9
mov eax, dword [eax + 8]
xor ecx, ecx
jmp 0x1003b3ee
inc ecx
inc eax
inc eax
cmp word [eax], di
jne 0x1003b3eb
push ecx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
call fcn.1003b4f9
mov ecx, dword [ebp + 8]
push eax
lea edx, [esp + 0x20]
mov byte [esp + 0x74], 6
call fcn.10040237
pop ecx
mov byte [esp + 0x70], 5
push dword [esp + 0x38]
mov esi, eax
call fcn.1004d030
pop ecx
cmp esi, edi
je 0x1003b438
lea ecx, [esp + 0x4c]
call fcn.10038756
jmp 0x1003b159
mov esi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x50]
call fcn.10038708
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 0x50]
ja 0x1003b452
mov dword [ebx + 0x4c], esi
push dword [esp + 0x18]
lea ecx, [esp + 0x48]
call fcn.1003b4a9
lea ecx, [esp + 0x4c]
call fcn.10038756
jmp 0x1003b223