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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x181d600c]
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 0x18107c38
push edx
push edi
push ecx
push ebx
push esi
push dword [ebp + 8]
call fcn.18108768
add esp, 0x18
jmp 0x1810830e
push dword [edi + 0x30]
lea ecx, [esp + 0x3c]
call fcn.180379e9
lea eax, [esp + 0x38]
push eax
call fcn.18039e10
pop ecx
mov esi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], esi
call fcn.18037a14
mov ecx, dword [esi]
lea eax, [esp + 0x5c]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x181663e8]
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.180379e9
lea eax, [esp + 0x38]
push eax
call fcn.18039c96
pop ecx
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.18037a14
mov ecx, dword [edi]
lea eax, [esp + 0x74]
push eax
push 0x181ca49f
push str.0123456789_Ee
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x181663e8]
mov ecx, edi
call esi
mov edi, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.18109294
test al, al
jne 0x18107d21
cmp byte [ebx + 4], al
jne 0x18107ce6
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7f]
jne 0x18107d02
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2b
mov ecx, ebx
lea esi, [eax + 1]
call fcn.18108ecb
jmp 0x18107d25
cmp byte [ebx + 4], 0
jne 0x18107d0f
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7e]
jne 0x18107d21
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x18107cf6
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 0x18107d72
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov al, byte [eax]
cmp al, 0x7f
je 0x18107fe5
test al, al
jle 0x18107fe5
cmp dword [esp + 0x6c], edx
jne 0x18107d90
mov byte [esp + 0xd], dl
jmp 0x18107d9f
mov ecx, dword [esp + 0x2c]
call fcn.18039ade
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.1803695e
push dword [esp + 0x10]
mov ecx, ebx
xor edi, edi
call fcn.18109294
test al, al
jne 0x18107edf
cmp byte [ebx + 4], 0
jne 0x18107ddd
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
mov byte [esp + 0x38], al
lea eax, [esp + 0x74]
push dword [esp + 0x38]
push eax
call fcn.18109225
pop ecx
pop ecx
cmp eax, 0xa
jae 0x18107e5a
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xc], 1
cmp dword [esp + 0x30], ecx
jg 0x18107e17
inc dword [esp + 0x14]
test eax, eax
je 0x18107e31
mov byte [esp + 0xe], 1
jmp 0x18107e31
test eax, eax
jne 0x18107e1f
test ecx, ecx
je 0x18107e31
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 0x18107e40
mov eax, dword [esp + 0x44]
cmp byte [eax + edi], 0x7f
je 0x18107ea5
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
jb 0x18107e55
mov eax, dword [esp + 0x44]
inc byte [eax + edi]
jmp 0x18107ea5
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x44]
cmp eax, 0x10
jb 0x18107e6d
mov edx, ecx
cmp byte [edx + edi], 0
je 0x18107ec7
mov dl, byte [esp + 0xd]
test dl, dl
je 0x18107ec7
cmp byte [ebx + 4], 0
jne 0x18107e94
mov ecx, ebx
call fcn.18108ea7
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dl, byte [esp + 0xd]
cmp byte [ebx + 5], dl
jne 0x18107ec7
push 0
lea ecx, [esp + 0x48]
call fcn.1802bd59
inc edi
mov ecx, ebx
call fcn.18108ecb
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18109294
test al, al
je 0x18107dd0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
test edi, edi
je 0x18107ee7
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18107ed6
mov edx, ecx
cmp byte [edx + edi], 0
jle 0x18107f1f
inc edi
jmp 0x18107ee7
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
test edi, edi
je 0x18107f24
mov dl, byte [edx]
mov byte [esp + 0xd], dl
cmp dl, 0x7f
je 0x18107f24
sub edi, 1
je 0x18107faf
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18107f0e
mov edx, ecx
mov bl, byte [esp + 0xd]
cmp bl, byte [edx + edi]
mov ebx, dword [esp + 0x24]
je 0x18107fce
mov byte [esp + 0xf], 1
cmp eax, 0x10
jb 0x18107f5b
inc eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
cmp eax, 0x1000
jb 0x18107f52
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.18007b92
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.18122407
pop ecx
pop ecx
mov edi, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x18108072
cmp byte [ebx + 4], al
jne 0x18107f7b
mov ecx, ebx
call fcn.18108ea7
mov ecx, dword [esp + 0x2c]
mov bl, byte [ebx + 5]
call fcn.18039af6
cmp bl, al
jne 0x1810806e
call fcn.1814415e
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.18108ecb
jmp 0x18108072
test edi, edi
jne 0x18107fce
lea edx, [esp + 0x44]
cmp eax, 0x10
jb 0x18107fbe
mov edx, ecx
mov bl, byte [esp + 0xd]
cmp bl, byte [edx]
mov ebx, dword [esp + 0x24]
jl 0x18107f1f
mov edx, dword [esp + 0x40]
inc edx
cmp byte [edx], 0
jle 0x18107ee7
mov dword [esp + 0x40], edx
jmp 0x18107eeb
push edi
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x18107f5f
cmp byte [ebx + 4], 0
jne 0x18108002
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
mov byte [esp + 0x38], al
lea eax, [esp + 0x74]
push dword [esp + 0x38]
push eax
call fcn.18109225
pop ecx
pop ecx
cmp eax, 0xa
jae 0x18108065
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x30], ecx
jg 0x18108037
inc dword [esp + 0x14]
test eax, eax
je 0x1810804d
mov byte [esp + 0xe], 1
jmp 0x1810804d
test eax, eax
jne 0x1810803f
test ecx, ecx
je 0x1810804d
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.18108ecb
push edi
mov ecx, ebx
call fcn.18109294
test al, al
je 0x18107ff5
mov dword [esp + 0x1c], esi
jmp 0x18107f5f
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x3b9aca00
je 0x1810813f
cmp dword [esp + 0x20], 0
jne 0x1810813f
push edi
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x181080d4
mov esi, dword [esp + 0x14]
cmp byte [ebx + 4], 0
jne 0x181080aa
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x74]
jne 0x181080cc
mov ecx, ebx
mov byte [esp + 0xc], 1
dec esi
call fcn.18108ecb
push edi
mov ecx, ebx
call fcn.18109294
test al, al
je 0x1810809d
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x1810813f
mov byte [esi], 0x30
inc esi
inc eax
mov dword [esp + 0x14], eax
jmp 0x1810813f
cmp byte [ebx + 4], 0
jne 0x181080f4
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
mov byte [esp + 0x18], al
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push eax
call fcn.18109225
pop ecx
pop ecx
cmp eax, 0xa
jae 0x1810814b
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x30]
jge 0x1810812a
mov al, byte [eax + str.0123456789_Ee]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x18108133
test eax, eax
je 0x18108133
mov byte [esp + 0xe], 1
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18108ecb
push edi
mov ecx, ebx
call fcn.18109294
test al, al
je 0x181080e7
cmp byte [esp + 0xe], 0
je 0x18108194
lea edi, [esi - 1]
jmp 0x18108171
mov dword [esp + 0x18], edi
call fcn.1814415e
mov cl, byte [edi]
mov eax, dword [eax]
cmp cl, byte [eax]
je 0x18108170
cmp cl, 0x39
jne 0x18108179
mov byte [edi], 0x30
dec edi
cmp edi, dword [esp + 0x34]
jne 0x18108157
jmp 0x18108189
mov eax, dword [esp + 0x18]
inc cl
mov byte [edi], cl
mov edi, eax
cmp eax, dword [esp + 0x34]
jne 0x18108190
inc dword [esp + 0x14]
mov byte [edi], 0x31
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0xc]
test al, al
je 0x181082ef
push edi
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x181082eb
cmp byte [ebx + 4], al
jne 0x181081bc
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x81]
je 0x181081e5
cmp byte [ebx + 4], 0
jne 0x181081d5
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x80]
jne 0x181082eb
mov byte [esi], 0x65
mov ecx, ebx
inc esi
call fcn.18108ecb
push dword [esp + 0x10]
mov ecx, ebx
mov byte [esp + 0x10], 0
xor edi, edi
call fcn.18109294
test al, al
jne 0x18108241
cmp byte [ebx + 4], al
jne 0x18108212
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7f]
jne 0x18108220
mov byte [esi], 0x2b
jmp 0x18108239
cmp byte [ebx + 4], 0
jne 0x1810822d
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x7e]
jne 0x18108241
mov byte [esi], 0x2d
mov ecx, ebx
inc esi
call fcn.18108ecb
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x18108297
cmp byte [ebx + 4], 0
mov cl, byte [esp + 0xc]
mov byte [esp + 0xc], cl
jne 0x18108269
mov ecx, ebx
call fcn.18108ea7
mov cl, byte [esp + 0xc]
mov al, byte [ebx + 5]
cmp al, byte [esp + 0x74]
jne 0x1810828f
mov ecx, ebx
mov byte [esp + 0xc], 1
call fcn.18108ecb
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18109294
test al, al
je 0x18108250
jmp 0x18108293
test cl, cl
je 0x18108297
mov byte [esi], 0x30
inc esi
push dword [esp + 0x10]
mov ecx, ebx
call fcn.18109294
test al, al
jne 0x181082eb
cmp byte [ebx + 4], al
jne 0x181082b2
mov ecx, ebx
call fcn.18108ea7
mov al, byte [ebx + 5]
mov byte [esp + 0x18], al
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push eax
call fcn.18109225
pop ecx
pop ecx
cmp eax, 0xa
jae 0x181082eb
cmp edi, 8
jge 0x181082dd
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.18108ecb
jmp 0x18108297
mov al, byte [esp + 0xc]
cmp byte [esp + 0xf], 0
jne 0x181082fa
test al, al
jne 0x181082fe
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x5c]
mov byte [esi], 0
call fcn.18014acd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18121ed8
mov esp, ebp
pop ebp
ret