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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x181d000c]
xor eax, esp
mov dword [esp + 0x78], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x14]
and eax, 0x3000
mov dword [esp + 0x18], edx
cmp eax, 0x3000
jne 0x181029d8
push edx
push edi
push ecx
push ebx
push esi
push dword [ebp + 8]
call fcn.18103508
add esp, 0x18
jmp 0x181030ae
push dword [edi + 0x30]
lea ecx, [esp + 0x3c]
call fcn.18036299
lea eax, [esp + 0x38]
push eax
call fcn.180386c0
pop ecx
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], esi
call fcn.180362c4
mov ecx, dword [esi]
lea eax, [esp + 0x5c]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x181623e8]
mov ecx, dword [esp + 0x30]
call esi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push dword [edi + 0x30]
mov dword [esp + 0x20], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
call fcn.18036299
lea eax, [esp + 0x38]
push eax
call fcn.18038546
pop ecx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.180362c4
mov ecx, dword [edi]
lea eax, [esp + 0x74]
push eax
push 0x181c3f6b
push str.0123456789_Ee
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x181623e8]
mov ecx, edi
call esi
mov edi, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.18104034
test al, al
jne 0x18102ac1
cmp byte [ebx + 4], al
jne 0x18102a86
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7f]
jne 0x18102aa2
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2b
mov ecx, ebx
lea esi, [eax + 1]
call fcn.18103c6b
jmp 0x18102ac5
cmp byte [ebx + 4], 0
jne 0x18102aaf
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7e]
jne 0x18102ac1
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x18102a96
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
xor eax, eax
xor edx, edx
mov byte [esi], 0x30
mov dword [esp + 0x34], esi
inc esi
mov dword [esp + 0x1c], esi
cmp dword [ecx], 0x3b9aca00
mov byte [esp + 0xc], dl
setne al
mov dword [esp + 0x20], edx
dec eax
mov dword [esp + 0x14], edx
and eax, 0x2dc
add eax, 0x24
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x40], eax
jb 0x18102b12
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov al, byte [eax]
cmp al, 0x7f
je 0x18102d85
test al, al
jle 0x18102d85
cmp dword [esp + 0x6c], edx
jne 0x18102b30
mov byte [esp + 0xd], dl
jmp 0x18102b3f
mov ecx, dword [esp + 0x2c]
call fcn.1803838e
mov byte [esp + 0xd], al
xor edx, edx
push edx
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0xf
call fcn.1802fe92
push dword [esp + 0x10]
mov ecx, ebx
xor edi, edi
call fcn.18104034
test al, al
jne 0x18102c7f
cmp byte [ebx + 4], 0
jne 0x18102b7d
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
mov byte [esp + 0x38], al
lea eax, [esp + 0x74]
push dword [esp + 0x38]
push eax
call fcn.18103fc5
pop ecx
pop ecx
cmp eax, 0xa
jae 0x18102bfa
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xc], 1
cmp dword [esp + 0x30], ecx
jg 0x18102bb7
inc dword [esp + 0x14]
test eax, eax
je 0x18102bd1
mov byte [esp + 0xe], 1
jmp 0x18102bd1
test eax, eax
jne 0x18102bbf
test ecx, ecx
je 0x18102bd1
mov al, byte [eax + str.0123456789_Ee]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
jb 0x18102be0
mov eax, dword [esp + 0x44]
cmp byte [eax + edi], 0x7f
je 0x18102c45
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
jb 0x18102bf5
mov eax, dword [esp + 0x44]
inc byte [eax + edi]
jmp 0x18102c45
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x44]
cmp eax, 0x10
jb 0x18102c0d
mov edx, ecx
cmp byte [edx + edi], 0
je 0x18102c67
mov dl, byte [esp + 0xd]
test dl, dl
je 0x18102c67
cmp byte [ebx + 4], 0
jne 0x18102c34
mov ecx, ebx
call fcn.18103c47
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dl, byte [esp + 0xd]
cmp byte [ebx + 5], dl
jne 0x18102c67
push 0
lea ecx, [esp + 0x48]
call fcn.18030d55
inc edi
mov ecx, ebx
call fcn.18103c6b
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18104034
test al, al
je 0x18102b70
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
test edi, edi
je 0x18102c87
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18102c76
mov edx, ecx
cmp byte [edx + edi], 0
jle 0x18102cbf
inc edi
jmp 0x18102c87
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
test edi, edi
je 0x18102cc4
mov dl, byte [edx]
mov byte [esp + 0xd], dl
cmp dl, 0x7f
je 0x18102cc4
sub edi, 1
je 0x18102d4f
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18102cae
mov edx, ecx
mov bl, byte [esp + 0xd]
cmp bl, byte [edx + edi]
mov ebx, dword [esp + 0x24]
je 0x18102d6e
mov byte [esp + 0xf], 1
cmp eax, 0x10
jb 0x18102cfb
inc eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
cmp eax, 0x1000
jb 0x18102cf2
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.18007b72
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.1811e7d6
pop ecx
pop ecx
mov edi, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x18102e12
cmp byte [ebx + 4], al
jne 0x18102d1b
mov ecx, ebx
call fcn.18103c47
mov ecx, dword [esp + 0x2c]
mov bl, byte [ebx + 5]
call fcn.180383a6
cmp bl, al
jne 0x18102e0e
call fcn.1814053e
mov ebx, dword [esp + 0x24]
mov ecx, ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esi], al
inc esi
mov dword [esp + 0x1c], esi
call fcn.18103c6b
jmp 0x18102e12
test edi, edi
jne 0x18102d6e
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18102d5e
mov edx, ecx
mov bl, byte [esp + 0xd]
cmp bl, byte [edx]
mov ebx, dword [esp + 0x24]
jl 0x18102cbf
mov edx, dword [esp + 0x40]
inc edx
cmp byte [edx], 0
jle 0x18102c87
mov dword [esp + 0x40], edx
jmp 0x18102c8b
push edi
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x18102cff
cmp byte [ebx + 4], 0
jne 0x18102da2
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
mov byte [esp + 0x38], al
lea eax, [esp + 0x74]
push dword [esp + 0x38]
push eax
call fcn.18103fc5
pop ecx
pop ecx
cmp eax, 0xa
jae 0x18102e05
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x30], ecx
jg 0x18102dd7
inc dword [esp + 0x14]
test eax, eax
je 0x18102ded
mov byte [esp + 0xe], 1
jmp 0x18102ded
test eax, eax
jne 0x18102ddf
test ecx, ecx
je 0x18102ded
mov al, byte [eax + str.0123456789_Ee]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18103c6b
push edi
mov ecx, ebx
call fcn.18104034
test al, al
je 0x18102d95
mov dword [esp + 0x1c], esi
jmp 0x18102cff
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x3b9aca00
je 0x18102edf
cmp dword [esp + 0x20], 0
jne 0x18102edf
push edi
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x18102e74
mov esi, dword [esp + 0x14]
cmp byte [ebx + 4], 0
jne 0x18102e4a
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x74]
jne 0x18102e6c
mov ecx, ebx
mov byte [esp + 0xc], 1
dec esi
call fcn.18103c6b
push edi
mov ecx, ebx
call fcn.18104034
test al, al
je 0x18102e3d
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x18102edf
mov byte [esi], 0x30
inc esi
inc eax
mov dword [esp + 0x14], eax
jmp 0x18102edf
cmp byte [ebx + 4], 0
jne 0x18102e94
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
mov byte [esp + 0x18], al
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push eax
call fcn.18103fc5
pop ecx
pop ecx
cmp eax, 0xa
jae 0x18102eeb
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x30]
jge 0x18102eca
mov al, byte [eax + str.0123456789_Ee]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x18102ed3
test eax, eax
je 0x18102ed3
mov byte [esp + 0xe], 1
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18103c6b
push edi
mov ecx, ebx
call fcn.18104034
test al, al
je 0x18102e87
cmp byte [esp + 0xe], 0
je 0x18102f34
lea edi, [esi - 1]
jmp 0x18102f11
mov dword [esp + 0x18], edi
call fcn.1814053e
mov cl, byte [edi]
mov eax, dword [eax]
cmp cl, byte [eax]
je 0x18102f10
cmp cl, 0x39
jne 0x18102f19
mov byte [edi], 0x30
dec edi
cmp edi, dword [esp + 0x34]
jne 0x18102ef7
jmp 0x18102f29
mov eax, dword [esp + 0x18]
inc cl
mov byte [edi], cl
mov edi, eax
cmp eax, dword [esp + 0x34]
jne 0x18102f30
inc dword [esp + 0x14]
mov byte [edi], 0x31
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0xc]
test al, al
je 0x1810308f
push edi
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x1810308b
cmp byte [ebx + 4], al
jne 0x18102f5c
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x81]
je 0x18102f85
cmp byte [ebx + 4], 0
jne 0x18102f75
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x80]
jne 0x1810308b
mov byte [esi], 0x65
mov ecx, ebx
inc esi
call fcn.18103c6b
push dword [esp + 0x10]
mov ecx, ebx
mov byte [esp + 0x10], 0
xor edi, edi
call fcn.18104034
test al, al
jne 0x18102fe1
cmp byte [ebx + 4], al
jne 0x18102fb2
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7f]
jne 0x18102fc0
mov byte [esi], 0x2b
jmp 0x18102fd9
cmp byte [ebx + 4], 0
jne 0x18102fcd
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7e]
jne 0x18102fe1
mov byte [esi], 0x2d
mov ecx, ebx
inc esi
call fcn.18103c6b
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x18103037
cmp byte [ebx + 4], 0
mov cl, byte [esp + 0xc]
mov byte [esp + 0xc], cl
jne 0x18103009
mov ecx, ebx
call fcn.18103c47
mov cl, byte [esp + 0xc]
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x74]
jne 0x1810302f
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18103c6b
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18104034
test al, al
je 0x18102ff0
jmp 0x18103033
test cl, cl
je 0x18103037
mov byte [esi], 0x30
inc esi
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18104034
test al, al
jne 0x1810308b
cmp byte [ebx + 4], al
jne 0x18103052
mov ecx, ebx
call fcn.18103c47
mov al, byte [ebx + 5]
mov byte [esp + 0x18], al
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push eax
call fcn.18103fc5
pop ecx
pop ecx
cmp eax, 0xa
jae 0x1810308b
cmp edi, 8
jge 0x1810307d
mov al, byte [eax + str.0123456789_Ee]
mov byte [esi], al
inc esi
inc edi
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18103c6b
jmp 0x18103037
mov al, byte [esp + 0xc]
cmp byte [esp + 0xf], 0
jne 0x1810309a
test al, al
jne 0x1810309e
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x5c]
mov byte [esi], 0
call fcn.18014aad
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1811e2a8
mov esp, ebp
pop ebp
ret