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

Disassembly:
push 0xffffffffffffffff
push 0x47f7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
xor esi, esi
mov dword [esp + 0x30], 0
cmp byte [edi], 0
mov dword [esp + 0x1c], esi
je 0x4381ff
inc esi
cmp byte [esi + edi], 0
jne 0x4381f4
mov dword [esp + 0x1c], esi
cmp dword [0x4912f0], 0
jne 0x438217
call fcn.00430000
mov dword [0x4912f0], 0x4257c0
mov ebp, 2
mov dword [esp + 0x34], 0x408d10
mov ecx, ebp
mov dword [esp + 0x3c], ebp
call fcn.00437f20
lea ecx, [ebp + 6]
call fcn.004208d0
mov ebx, eax
xor edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [ebx + 4], edx
mov dword [ebx], edx
mov dword [esp + 0x78], edx
test esi, esi
jne 0x438275
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
call fcn.00431760
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
push ebx
call fcn.00469885
mov eax, dword [esp + 0x28]
jmp 0x4385c1
movsx eax, byte [esi + edi - 1]
add eax, 0xffffffbe
cmp eax, 0x2d
ja case.0x438289.67
movzx eax, byte [eax + 0x4385e8]
jmp dword [eax*4 + 0x4385d8]
mov ecx, 0x10
jmp 0x4382aa
mov ecx, 8
jmp 0x4382aa
mov ecx, 2
jmp 0x4382aa
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp esi, 2
jbe 0x4382c8
cmp byte [edi], 0x30
jne 0x4382c8
cmp byte [edi + 1], 0x78
mov eax, 0x10
cmove ecx, eax
mov dword [esp + 0x14], ecx
xor eax, eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
test esi, esi
je 0x438558
mov edi, edi
mov al, byte [eax + edi]
cmp al, 0x30
jl 0x4382f3
cmp al, 0x39
jg 0x4382f3
movsx esi, al
sub esi, 0x30
jmp 0x438315
cmp al, 0x41
jl 0x438303
cmp al, 0x46
jg 0x438303
movsx esi, al
sub esi, 0x37
jmp 0x438315
cmp al, 0x61
jl 0x438313
cmp al, 0x66
jg 0x438313
movsx esi, al
sub esi, 0x57
jmp 0x438315
mov esi, ecx
cmp esi, ecx
jge 0x438545
cmp dword [0x4912f0], 0
mov edi, ecx
jne 0x438337
call fcn.00430000
mov dword [0x4912f0], 0x4257c0
mov ecx, 2
mov dword [esp + 0x48], 0x408d10
mov dword [esp + 0x50], 2
call fcn.00437f20
mov ecx, 8
call fcn.004208d0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
test ecx, ecx
js 0x438371
mov dword [esp + 0x58], 0
jmp 0x43837d
mov edi, ecx
mov dword [esp + 0x58], 1
neg edi
mov dword [eax], edi
mov dword [eax + 4], 0
lea eax, [esp + 0x48]
mov byte [esp + 0x78], 1
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x3c]
call fcn.00434480
mov edi, eax
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
cmp eax, edi
je 0x438459
mov edx, dword [edi + 8]
cmp ebp, edx
jne 0x4383c5
mov ecx, dword [edi + 0xc]
mov eax, edx
shr eax, 1
cmp dword [ecx + eax*4], 0
jne 0x438439
mov eax, dword [edi + 0xc]
test edx, edx
je 0x4383dd
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp dword [eax], 0
jne 0x4383dd
sub eax, 4
dec edx
jne 0x4383d2
cmp edx, 8
ja 0x4383eb
mov edx, dword [edx*4 + 0x408d20]
jmp 0x438427
cmp edx, 0x10
ja 0x4383f7
mov edx, 0x10
jmp 0x438427
cmp edx, 0x20
ja 0x438403
mov edx, 0x20
jmp 0x438427
cmp edx, 0x40
ja 0x43840f
mov edx, 0x40
jmp 0x438427
lea eax, [edx - 1]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.0041ed60
mov edx, dword [esp + 0x20]
mov ecx, eax
shl edx, cl
push edx
lea ecx, [esp + 0x3c]
call fcn.00437010
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 0xc]
cmp ebx, ecx
je 0x438452
lea eax, [ebp*4]
push eax
push ecx
push ebx
call fcn.00468f60
add esp, 0xc
mov eax, dword [edi + 0x10]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x64]
xor eax, eax
mov ebx, dword [esp + 0x68]
mov ecx, edx
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push ebx
cmp eax, 0x10
jb 0x43847d
call fcn.0046994f
jmp 0x438482
call fcn.00469885
mov byte [esp + 0x7c], 0
add esp, 4
mov edx, dword [esp + 0x54]
xor eax, eax
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
push edx
call fcn.00469885
add esp, 4
cmp dword [0x4912f0], 0
jne 0x4384ba
call fcn.00430000
mov dword [0x4912f0], 0x4257c0
mov ecx, 2
mov dword [esp + 0x48], 0x408d10
mov dword [esp + 0x50], 2
call fcn.00437f20
mov ecx, 8
call fcn.004208d0
mov ebx, eax
mov dword [esp + 0x54], ebx
test esi, esi
js 0x4384f2
mov dword [esp + 0x58], 0
jmp 0x4384fc
mov dword [esp + 0x58], 1
neg esi
mov dword [ebx], esi
mov dword [ebx + 4], 0
lea eax, [esp + 0x48]
mov byte [esp + 0x78], 3
push eax
lea ecx, [esp + 0x38]
call fcn.00433d80
xor eax, eax
mov byte [esp + 0x78], 0
mov edi, ebx
mov ecx, 2
rep stosd dword es:[edi], eax
push ebx
call fcn.00469885
mov edx, dword [esp + 0x48]
add esp, 4
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x4382e0
cmp byte [edi], 0x2d
jne 0x43858e
cmp edx, 1
je 0x438584
cmp dword [ebx], 0
jne 0x438584
mov eax, ebp
test ebp, ebp
je 0x43858e
lea ecx, [ebp - 1]
lea ecx, [ebx + ecx*4]
cmp dword [ecx], 0
jne 0x438580
sub ecx, 4
dec eax
jne 0x438573
jmp 0x43858e
test eax, eax
je 0x43858e
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00431760
xor eax, eax
mov edi, ebx
mov ecx, ebp
rep stosd dword es:[edi], eax
lea eax, [ebp*4]
push ebx
cmp eax, 0x10
jb 0x4385ba
call fcn.0046994f
jmp 0x4385bf
call fcn.00469885
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret