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

Disassembly:
sub esp, 0x54
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x60]
push ebx
mov bl, byte [esp + 0x64]
mov bh, byte [esp + 0xa]
lea eax, [ecx + 4]
mov byte [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x20]
mov byte [eax], 0
xor eax, eax
mov dword [esp + 0x18], 0
jmp 0x418306
mov esi, dword [esp + 0x6c]
jmp 0x418302
mov ecx, dword [esp + 0x70]
jmp 0x418306
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
push dword [esp + 0x68]
mov edx, dword [esp + 0x78]
push dword [esp + 0x28]
push eax
inc dword [edx]
push ecx
call fcn.00418e10
mov edx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4189ae
mov eax, dword [esp + 0x70]
push 2
push 0x4ca5a8
push dword [eax]
call fcn.0049ecf3
add esp, 0xc
test eax, eax
jne 0x41834f
mov byte [esp + 0x24], 1
jmp 0x41835a
cmp byte [esp + 0x24], 0
je 0x41843a
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xffffffff
je 0x418d58
mov eax, dword [esp + 0x70]
push 2
push 0x4ca5b0
push dword [eax]
call fcn.0049ecf3
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [ecx]
test eax, eax
jne 0x4183d7
mov byte [esp + 0x24], al
lea eax, [edx - 2]
mov dword [ecx], eax
lea eax, [eax*2 + 2]
mov ecx, dword [esp + 0x70]
push eax
mov ecx, dword [ecx]
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00496c80
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
call fcn.00413bc0
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp word [eax], 0
mov eax, dword [esp + 0x18]
je 0x418306
jmp 0x41843e
mov eax, dword [esp + 0x18]
cmp edx, 2
jb 0x4182f8
mov eax, dword [esp + 0x70]
mov ecx, 0x4ca5b0
mov eax, dword [eax]
lea eax, [eax + edx*2]
add eax, 0xfffffffc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41841b
test dx, dx
je 0x418417
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41841b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4183f5
xor eax, eax
jmp 0x418420
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x70]
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x418306
mov byte [esp + 0x24], 0
jmp 0x418302
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4186e7
mov ecx, dword [ecx]
cmp word [ecx], 0x28
jne 0x4186e7
cmp word [ecx + 2], 0x3a
lea esi, [ecx + 2]
je 0x4186e7
cmp word [ecx + eax*2 - 2], 0x3a
je 0x4186e7
mov dword [esp + 0x18], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 6
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], 0xa
mov dword [esp + 0x34], 1
movzx eax, word [esi]
cmp eax, 0x20
je 0x4184af
cmp eax, 9
jne 0x4184b4
add esi, 2
jmp 0x4184a2
test ax, ax
je 0x418626
nop dword [eax]
mov ebx, esi
test esi, esi
je 0x418501
movzx eax, word [esi]
test ax, ax
je 0x418501
mov edi, eax
mov eax, 0x4c678c
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x418518
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4184e0
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x4184d0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418506
sub ecx, edx
sar ecx, 1
lea ebx, [esi + ecx*2]
movzx edi, word [ebx]
xor eax, eax
push 4
push str.Join
push esi
mov word [ebx], ax
call fcn.00497b0e
add esp, 0xc
test eax, eax
jne 0x418578
push 0xf
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0049fc44
add esp, 0xc
lea ecx, [esp + 0x40]
xor eax, eax
xor edx, edx
mov word [esp + 0x5e], ax
call fcn.0047cd70
lea edx, [esp + 0x40]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x418560
sub edx, ecx
sar edx, 1
mov dword [esp + 0x34], edx
jmp 0x4185fd
push 5
push str.LTrim
push esi
call fcn.00497b0e
add esp, 0xc
test eax, eax
jne 0x41859d
xor ecx, ecx
cmp word [esi + 0xa], 0x30
sete cl
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x4185fd
push 5
push str.RTrim
push esi
call fcn.00497b0e
add esp, 0xc
test eax, eax
jne 0x4185bd
cmp word [esi + 0xa], 0x30
setne byte [esp + 0x17]
jmp 0x4185fd
movzx eax, word [esi]
test ax, ax
je 0x4185fd
mov ecx, eax
movzx eax, cx
add eax, 0xffffffd7
cmp eax, 0x3a
ja case.0x4185d9.42
movzx eax, byte [eax + 0x418db0]
jmp dword [eax*4 + 0x418da0]
mov byte [esp + 0x16], 1
jmp case.0x4185d9.42
mov dword [esp + 0x18], 2
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x4185c7
mov word [ebx], di
mov esi, ebx
mov eax, edi
cmp ax, 0x20
je 0x418610
cmp ax, 9
jne 0x418619
movzx eax, word [esi + 2]
add esi, 2
jmp 0x418604
test ax, ax
jne 0x4184c0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x6c]
mov dl, byte [eax]
xor eax, eax
test dl, dl
cmovne eax, ebp
xor ecx, ecx
mov ebp, eax
test dl, dl
movzx eax, di
cmovne ecx, eax
movzx edi, cx
mov dword [esp + 0x20], edi
nop word [eax + eax]
test di, di
je 0x41868a
mov esi, dword [ebx]
xor eax, eax
cmp word [esi + ebp*2], di
lea ecx, [esi + ebp*2]
je 0x418680
movzx edx, word [ecx + eax*2]
test dx, dx
je 0x418680
cmp edx, 0x60
jne 0x418679
cmp word [ecx + eax*2 + 2], 0
je 0x418679
inc eax
inc eax
cmp word [ecx + eax*2], di
jne 0x418662
add ebp, eax
cmp word [esi + ebp*2], 0
je 0x4186c9
inc ebp
mov ecx, dword [ebx]
lea eax, [ebp*2]
cmp word [eax + ecx], 0
je 0x4186bd
nop word [eax + eax]
movzx eax, word [eax + ecx]
cmp eax, 0x22
je 0x4186bd
cmp eax, 0x27
je 0x4186bd
inc ebp
lea eax, [ebp*2]
cmp word [eax + ecx], 0
jne 0x4186a0
movzx edi, word [ecx + ebp*2]
test di, di
je 0x4186c9
inc ebp
jmp 0x418650
mov eax, dword [esp + 0x78]
test di, di
mov esi, dword [esp + 0x6c]
mov bh, byte [esp + 0x16]
setne bl
mov dword [esp + 0x20], edi
mov byte [eax], 1
jmp 0x4182fe
mov dword [esp + 0x18], 0
cmp eax, 0xffffffff
je 0x418d58
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test eax, eax
je 0x418302
cmp dword [esp + 0x7c], 0
jg 0x418d58
mov edi, ecx
mov ecx, dword [edi]
cmp word [ecx + eax*2 - 2], 0x3a
jne 0x418729
cmp word [ecx], 0x2c
jne 0x418d58
movzx esi, word [ecx]
test esi, 0xffffff80
je 0x418738
xor eax, eax
jmp 0x418741
push esi
call fcn.00498650
add esp, 4
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
add ecx, 0xffffffbf
cmp ecx, 0xe
ja case.0x41875e.66
movzx eax, byte [ecx + 0x418df4]
jmp dword [eax*4 + 0x418dec]
mov esi, dword [edi]
movzx eax, word [esi]
cmp eax, 0x7f
ja 0x418784
push eax
call fcn.004985b7
add esp, 4
test eax, eax
jne 0x418784
movzx eax, word [esi]
cmp eax, 0x5f
jne 0x418789
add esi, 2
jmp 0x418767
cmp eax, 0x20
je 0x418797
cmp eax, 9
jne 0x418d58
mov ecx, dword [edi]
sub esi, ecx
sar esi, 1
mov edx, esi
call fcn.0041c450
test eax, eax
je 0x418d58
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x10]
mov eax, dword [eax]
mov edx, dword [edi + 4]
inc eax
add ecx, edx
add eax, ecx
cmp dword [edi + 8], eax
jae 0x41895c
mov ecx, dword [edi + 0xc]
xor edx, edx
lea esi, [ecx - 1]
add esi, eax
mov eax, esi
div ecx
sub esi, edx
lea eax, [esi + esi]
push eax
push dword [edi]
call fcn.0049acd3
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x418d67
mov dword [edi], ecx
mov dword [edi + 8], esi
mov edx, dword [edi + 4]
jmp 0x41895e
mov ecx, dword [edi]
movzx eax, word [ecx]
cmp eax, 0x3a
je 0x418813
cmp eax, 0x2b
je 0x418813
cmp eax, 0x2d
jne 0x41881d
cmp word [ecx + 2], ax
je 0x418d58
push eax
push str._____:.__
call fcn.0049515e
add esp, 8
test eax, eax
je 0x418d58
push 0x4c9f60
push dword [edi]
call fcn.00495225
mov edi, eax
add esp, 8
test edi, edi
je 0x4187ac
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx]
cmp word [esi], 0x3a
jne 0x4188b0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
je 0x4188a6
mov ecx, eax
cmp cx, 0x3a
je 0x4188a6
movzx eax, cx
test eax, 0xffffff80
jne 0x418883
push eax
call fcn.004985b7
add esp, 4
test eax, eax
jne 0x418898
movzx eax, word [esi]
push eax
push str.____t
call fcn.0049515e
add esp, 8
test eax, eax
je 0x4188b0
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x418866
cmp word [esi], 0x3a
je 0x418d58
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp word [eax], 0x2c
jne 0x418902
lea esi, [eax + 2]
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x4188cd
cmp eax, 9
jne 0x4188d2
add esi, 2
jmp 0x4188c0
push 2
push 0x4c9f60
push esi
call fcn.0049ecf3
add esp, 0xc
test eax, eax
je 0x418d58
push 3
lea eax, [esi - 2]
push 0x4c677c
push eax
call fcn.0049ecf3
add esp, 0xc
jmp 0x4187a4
cmp eax, edi
jae 0x41891c
movzx ecx, word [eax]
cmp ecx, 0x22
je 0x418922
cmp ecx, 0x27
je 0x41891a
add eax, 2
cmp eax, edi
jb 0x418906
cmp eax, edi
je 0x418d58
movzx esi, word [eax]
lea ecx, [edi + 4]
movzx eax, word [ecx]
test ax, ax
je 0x418d58
mov edx, eax
cmp dx, si
je 0x4187ac
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x418936
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
mov ecx, dword [edi]
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
cmp word [esi], 0x2c
je 0x41897d
mov esi, 0x20
mov word [ecx + edx*2], si
inc dword [edi + 4]
mov edx, dword [edi + 4]
mov esi, dword [eax]
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push esi
push eax
call fcn.00497340
mov eax, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0x6c]
mov eax, dword [eax]
add dword [edi + 4], eax
mov edi, dword [esp + 0x20]
jmp 0x4182fe
cmp edx, 0xffffffff
je 0x418d84
mov ecx, dword [esp + 0x70]
cmp edx, 0xfffffffe
je 0x418306
mov eax, ecx
mov esi, dword [eax]
cmp word [esi], 0x29
jne 0x418a2e
lea eax, [esi - 2]
mov dword [esp + 0x18], 0
lea eax, [eax + edx*2]
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4189ed
cmp ecx, 9
jne 0x4189f7
cmp eax, esi
je 0x418a12
sub eax, 2
dec edx
jmp 0x4189e0
xor ecx, ecx
mov word [eax + 2], cx
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
add esi, 2
dec edx
mov dword [eax], edx
jmp 0x418c85
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
add esi, 2
dec edx
mov dword [eax], edx
jmp 0x418c85
cmp dword [esp + 0x28], 0
jne 0x418a91
test di, di
jne 0x418a91
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x418a91
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x7f
ja 0x418a6b
push eax
call fcn.004985b7
add esp, 4
test eax, eax
jne 0x418a6b
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp word [eax + ecx*2 - 2], 0x5f
jne 0x418a91
mov ecx, dword [esi + 4]
lea eax, [ecx + 1]
cmp eax, 0x4001
jae 0x418a91
mov eax, dword [esi]
mov edx, 0x20
mov word [eax + ecx*2], dx
inc dword [esi + 4]
xor edx, edx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov word [eax + ecx*2], dx
cmp byte [esp + 0x17], 0
mov edi, dword [esp + 0x70]
je 0x418af8
mov esi, dword [edi]
cmp word [esi], 0
je 0x418aef
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x418ac0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418ab1
sub ecx, edx
sar ecx, 1
lea eax, [esi - 2]
lea eax, [eax + ecx*2]
movzx edx, word [eax]
cmp edx, 0x20
je 0x418ad3
cmp edx, 9
jne 0x418add
cmp eax, esi
je 0x418aea
sub eax, 2
dec ecx
jmp 0x418ac6
xor edx, edx
mov word [eax + 2], dx
lea edx, [edi + 4]
mov dword [edx], ecx
jmp 0x418afc
xor ecx, ecx
mov word [eax], cx
xor ecx, ecx
lea edx, [edi + 4]
mov dword [edx], ecx
jmp 0x418afc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp eax, 6
jne 0x418c01
cmp dword [esp + 0x28], 0
jne 0x418ba2
mov eax, dword [edi]
movzx esi, word [eax]
mov dword [esp + 0x3c], esi
cmp esi, 0x20
je 0x418b82
cmp esi, 9
je 0x418b82
mov dword [esp + 0x30], 0
lea edx, [edi + 4]
test bh, bh
jne 0x418b3e
test bl, bl
je 0x418c80
mov ecx, dword [edx]
mov eax, dword [edi + 0x10]
lea eax, [eax + ecx*2]
cmp dword [edi + 8], eax
jae 0x418c1d
mov ecx, dword [edi + 0xc]
lea esi, [eax - 1]
add esi, ecx
xor edx, edx
mov eax, esi
div ecx
sub esi, edx
lea eax, [esi + esi]
push eax
push dword [edi]
call fcn.0049acd3
add esp, 8
test eax, eax
je 0x418d67
mov dword [edi], eax
lea edx, [edi + 4]
mov dword [edi + 8], esi
jmp 0x418c1f
add eax, 2
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp word [eax], si
jne 0x418baa
lea eax, [eax + 2]
inc ecx
cmp word [eax], si
je 0x418b93
mov dword [esp + 0x30], ecx
jmp 0x418ba6
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x418b2f
xor esi, esi
test ecx, ecx
jle 0x418b2f
mov eax, dword [edi]
nop word [eax + eax]
mov edx, dword [esp + 0x3c]
cmp word [eax], dx
jne 0x418b2f
inc esi
add eax, 2
cmp esi, ecx
jl 0x418bc0
jne 0x418b2f
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + esi*2]
push eax
push ecx
call fcn.00496c80
lea edx, [edi + 4]
add esp, 0xc
sub dword [edx], esi
jmp 0x418b32
cmp eax, 1
jne 0x418b2f
mov edx, dword [edx]
mov ecx, dword [edi]
call fcn.00413bc0
lea edx, [edi + 4]
mov dword [edx], eax
jmp 0x418b32
mov eax, dword [edi]
test bh, bh
je 0x418c41
push edx
push 0
push ecx
push 0xffffffffffffffff
push 1
push 0x4ca5e8
mov edx, 0x4ca5f0
mov ecx, eax
call fcn.0047b330
mov eax, dword [edi]
add esp, 0x18
test bl, bl
je 0x418c80
lea esi, [edi + 4]
mov edx, 0x4ca5fc
push esi
push 0
push ecx
push 0xffffffffffffffff
push 1
push 0x4ca5f4
mov ecx, eax
call fcn.0047b330
add esp, 0x18
mov edx, 0x4ca608
push esi
push 0
push ecx
mov ecx, dword [edi]
push 0xffffffffffffffff
push 1
push 0x4ca600
call fcn.0047b330
add esp, 0x18
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
add eax, edx
mov edx, dword [esp + 0x6c]
add eax, edi
add eax, dword [edx + 4]
cmp dword [edx + 8], eax
jae 0x418cd7
mov ecx, dword [edx + 0xc]
xor edx, edx
lea edi, [ecx - 1]
add edi, eax
mov eax, edi
div ecx
sub edi, edx
lea eax, [edi + edi]
push eax
mov eax, dword [esp + 0x70]
push dword [eax]
call fcn.0049acd3
add esp, 8
test eax, eax
je 0x418d67
mov edx, dword [esp + 0x6c]
mov dword [edx + 8], edi
mov edi, dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 1
jle 0x418d1a
test edi, edi
je 0x418d1a
cmp esi, dword [ecx]
jne 0x418d1a
mov ecx, dword [edx + 4]
lea eax, [edi*2 + 2]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [edx]
lea eax, [eax + ecx*2]
push eax
call fcn.00497340
mov edx, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [esp + 0x70]
add dword [edx + 4], edi
mov eax, dword [ecx + 4]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x4182f2
mov ecx, dword [edx + 4]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [edx]
push esi
lea eax, [eax + ecx*2]
push eax
call fcn.00497340
mov eax, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0x6c]
mov eax, dword [eax]
add dword [esi + 4], eax
jmp 0x4182fe
mov word [ebx], di
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
mov ecx, dword [esp + 0x2c]
push 0x4b431c
push str.Out_of_memory.
call fcn.00428f20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
push dword [esi]
mov ecx, dword [esp + 0x30]
push 0x4ca5d0
call fcn.00428f20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18