Function at 0x467190
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556b48
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4671da
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], 0
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46720c
push 0x80004005
call fcn.00401f30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x571dd0
push edi
mov byte [esp + 0x78], 2
call fcn.00518533
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x467289
push edi
lea ecx, [esp + 0x20]
push 0x57ceac
push ecx
call fcn.00401cc0
mov edi, dword [esp + 0x28]
add esp, 0xc
push 0
push 0
push edi
call fcn.004f030b
add esi, 0xfffffff0
mov byte [esp + 0x70], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x467279
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x70], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x4679da
mov edi, dword [esp + 0x2c]
push edi
push 1
push 2
push 0x57ce48
call fcn.005183eb
add esp, 0x10
test ebx, ebx
je 0x4672e8
push ebx
lea ecx, [esp + 0x18]
call fcn.004050b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push edi
push 1
add ecx, ecx
push ecx
push eax
call fcn.005183eb
add esp, 0x10
push 0x57cef0
lea ecx, [esp + 0x18]
call fcn.004050b0
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push edi
push 1
lea edx, [eax + eax]
push edx
push esi
call fcn.005183eb
add esp, 0x10
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [0x5c0060], eax
jbe 0x4679a1
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [0x5c0058]
mov ecx, dword [esp + 0x28]
lea edi, [ecx + eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], 0
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4671d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 3
cmp dword [edi + 4], 0
jl 0x467415
lea ecx, [esp + 0x5c]
push ecx
mov ebx, edi
call fcn.00444320
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [0x5c0010]
mov dword [esp + 0x58], ebx
test esi, esi
je 0x467372
cmp esi, dword [0x5bfff8]
je 0x467377
call fcn.005177ee
mov eax, dword [esp + 0x10]
cmp ebx, edi
je 0x4673c4
mov ebx, dword [eax]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
mov edi, dword [eax + 4]
sar edx, 2
cmp edi, edx
jb 0x467396
call fcn.005177ee
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x20], ecx
test esi, esi
jne 0x4673c0
call fcn.005177ee
mov edx, dword [esp + 0x58]
cmp edx, dword [esi + 0x18]
jne 0x4673b7
call fcn.005177ee
mov eax, dword [esp + 0x58]
add eax, 0x10
jmp 0x4673ed
mov esi, dword [esi]
jmp 0x4673a9
mov ebx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x4673db
call fcn.005177ee
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebx*4]
mov eax, dword [0x5bf8ac]
mov dword [esp + 0x20], edx
add eax, 0x78
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b10
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x467411
push 9
push 0x5739f4
lea ecx, [esp + 0x20]
call fcn.00401f80
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.00401d40
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4678fd
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4671d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x70], 4
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4671d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 5
call fcn.00401d40
mov esi, dword [edi]
mov eax, dword [edi + 4]
test esi, esi
je 0x467555
inc eax
push eax
lea ecx, [esp + 0x28]
push 0x571168
push ecx
call fcn.00401cc0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
add esp, 0xc
test eax, eax
je 0x4674fc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push 0x571b20
push ecx
call fcn.00401790
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 6
call fcn.00401b10
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4674fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004426c0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 7
call fcn.00401b10
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x467492
add ebx, 0x10
push ebx
lea ecx, [esp + 0x40]
push 0x572168
push ecx
call fcn.00401790
add esp, 0xc
mov byte [esp + 0x70], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004044f0
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4675a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4675ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x57cf84
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.0040aa10
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 9
call fcn.00401b10
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467615
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004eff6d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4671d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov bl, 0xa
xor ecx, ecx
mov byte [esp + 0x70], bl
xor esi, esi
cmp cx, word [edi + 8]
jae 0x467669
lea esp, [esp]
push 5
push 0x57cf88
lea ecx, [esp + 0x2c]
call fcn.004044f0
movzx edx, word [edi + 8]
inc esi
cmp esi, edx
jl 0x467650
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.00401b10
cmp word [edi + 0xa], 0
je 0x46768e
push 4
push 0x57cf94
lea ecx, [esp + 0x18]
call fcn.004044f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x44]
push eax
call edx
mov byte [esp + 0x70], 0xb
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004044f0
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4676d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x467703
push eax
lea ecx, [esp + 0x20]
push 0x57cfa0
push ecx
call fcn.00401cc0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004044f0
push 0x57cf84
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0040aa10
add esp, 0xc
mov byte [esp + 0x70], 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004044f0
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467753
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467778
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x57cf84
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0040aa10
add esp, 0xc
mov byte [esp + 0x70], 0xd
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004044f0
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4677c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
mov esi, dword [edx - 0x10]
lea eax, [edx - 0x10]
je 0x467820
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4677fa
cmp dword [edx - 8], 0
jl 0x467a06
xor ecx, ecx
mov dword [edx - 0xc], 0
mov word [edx], cx
jmp 0x467820
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
cmp eax, 7
ja case.default.0x467828
jmp dword [eax*4 + 0x467a10]
push 7
push 0x57cfcc
jmp 0x46786c
push 6
push 0x57cfdc
jmp 0x46786c
push 8
push 0x57cfec
jmp 0x46786c
push 7
push 0x57d000
jmp 0x46786c
push 0xe
push 0x57d010
jmp 0x46786c
push 9
push 0x57d030
jmp 0x46786c
push 0x12
push 0x57d044
lea ecx, [esp + 0x18]
call fcn.00401f80
push 0x57cf84
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0040aa10
add esp, 0xc
mov byte [esp + 0x70], 0xe
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004044f0
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4678c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 2
push 0x571e4c
lea ecx, [esp + 0x1c]
call fcn.004044f0
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x467940
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jne 0x46791d
mov ecx, dword [edi + 0x10]
push ecx
lea edx, [esp + 0x18]
push 0x57d06c
push edx
call fcn.00401cc0
add esp, 0xc
jmp 0x467940
cmp eax, 0xfffffffe
jne 0x467940
mov eax, dword [edi + 0x10]
mov ecx, dword [eax*4 + 0x5b8200]
push ecx
push eax
lea edx, [esp + 0x1c]
push 0x57d084
push edx
call fcn.00401cc0
add esp, 0x10
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
push ecx
push 1
lea edx, [eax + eax]
push edx
push esi
call fcn.005183eb
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x28], 0x14
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [0x5c0060]
jb 0x467300
mov edi, dword [esp + 0x2c]
push edi
call fcn.005185c1
add esi, 0xfffffff0
add esp, 4
mov byte [esp + 0x70], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4679cb
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4679f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401f30
das
js 4618841
add byte [edi], ch
js 0x467a5d
add byte [eax], bh
js 0x467a61
add byte [ecx + 0x78], al
inc esi
add byte [edx + 0x78], cl
inc esi
add byte [ebx + 0x78], dl
inc esi
add byte [eax + edi*2 + 0x46], bl
add byte [ebp + 0x78], ah
inc esi
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
invalid
add byte [eax], al
add byte [ecx + 0x45c7e865], cl
cld
add byte [eax], al
add byte [eax], al
call 0x142c02e
add byte [eax], al
add al, ch
and edi, esi
invalid