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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x8c
mov eax, dword [0x496ee4]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x425636
push str.:memory:
push eax
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x425636
mov dword [ebp - 0x10], 1
jmp 0x42563a
and dword [ebp - 0x10], 0
mov esi, dword [edi]
push 0x18
mov dword [ebp], esi
call fcn.0041bf60
mov ebx, eax
pop ecx
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x425658
push 7
pop eax
jmp 0x42576b
cmp dword [ebp - 0x10], 0
mov byte [ebx + 8], 0
mov dword [ebx], edi
jne 0x42572b
test dword [edi + 0xc], 0x100000
jne 0x42572b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42572b
cmp byte [eax], 0
je 0x42572b
cmp dword [0x4960bc], 0
je 0x42572b
mov esi, dword [esi + 8]
inc esi
push esi
call fcn.0041bc83
mov byte [ebx + 9], 1
or dword [edi + 0xc], 0x80000
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4256bc
push ebx
call fcn.00414998
pop ecx
jmp 0x425650
push eax
mov eax, dword [ebp]
push esi
push dword [ebp - 0xc]
push eax
call dword [eax + 0x24]
push 2
call fcn.004146f7
push eax
mov dword [ebp - 0x18], eax
call fcn.00414717
mov eax, dword [0x497398]
add esp, 0x18
mov esi, eax
test eax, eax
je 0x425711
mov eax, dword [esi]
push dword [eax + 0x5c]
push dword [ebp - 0x20]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x425702
mov eax, dword [esi]
mov ecx, dword [ebp]
cmp dword [eax], ecx
je 0x42570b
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4256e6
jmp 0x425711
mov dword [ebx + 4], esi
inc dword [esi + 0x3c]
push dword [ebp - 0x18]
call fcn.00414735
push dword [ebp - 0x20]
call fcn.00414998
pop ecx
pop ecx
test esi, esi
jne 0x42590e
push 0x50
call fcn.0041bf60
mov esi, eax
xor edi, edi
pop ecx
cmp esi, edi
jne 0x42577d
mov dword [ebp - 4], 7
cmp esi, edi
je 0x425755
mov eax, dword [esi]
cmp eax, edi
je 0x425755
mov edi, eax
call fcn.00425118
xor edi, edi
push esi
call fcn.00414998
push ebx
call fcn.00414998
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov dword [eax], edi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047bc8a
add ebp, 0x6c
leave
ret
push dword [ebp + 0x7c]
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp]
push 0x4c
push dword [ebp - 0xc]
push esi
call fcn.00421137
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x425742
mov eax, dword [esi]
push 0x64
mov dword [ebp - 0x18], eax
lea eax, [ebp + 4]
push edi
push eax
mov dword [ebp], edi
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
add esp, 0xc
cmp dword [eax], edi
je 0x4257d9
push edi
push edi
lea ecx, [ebp + 4]
push 0x64
push ecx
call fcn.004145af
add esp, 0x10
mov dword [ebp], eax
cmp eax, 0x20a
jne 0x4257d9
mov dword [ebp], edi
mov eax, dword [ebp]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x425742
mov eax, dword [esi]
mov dword [eax + 0x74], fcn.0041d332
mov dword [eax + 0x78], esi
mov dword [ebx + 4], esi
mov eax, dword [esi]
mov dword [eax + 0xac], 0x417c3d
mov ebx, dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov al, byte [ebx + 0x10]
mov byte [esi + 0x11], al
movzx ax, byte [ebp + 0x14]
movzx cx, byte [ebp + 0x15]
shl ax, 8
or ax, cx
mov ecx, 0x200
lea edi, [esi + 0x1c]
mov word [edi], ax
cmp ax, cx
jb 0x42586e
mov ecx, 0x8000
cmp ax, cx
ja 0x42586e
movzx eax, ax
lea ecx, [eax - 1]
test eax, ecx
jne 0x42586e
mov bl, byte [ebp + 0x18]
lea ecx, [ebp + 0x38]
mov byte [esi + 0x12], 1
call fcn.00415438
test eax, eax
setne al
lea ecx, [ebp + 0x44]
mov byte [esi + 0x13], al
call fcn.00415438
test eax, eax
setne al
mov byte [esi + 0x14], al
jmp 0x42588c
xor eax, eax
push edi
mov word [edi], ax
call fcn.0041cef5
xor ebx, ebx
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x42588c
cmp dword [ebp - 0x10], ebx
jne 0x42588c
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov cx, word [edi]
movzx ax, bl
mov ebx, dword [esi]
sub cx, ax
push edi
mov word [esi + 0x1e], cx
call fcn.0041cef5
mov eax, dword [ebp - 8]
cmp byte [eax + 9], 0
pop ecx
je 0x425908
push 2
mov dword [esi + 0x3c], 1
call fcn.004146f7
xor ebx, ebx
pop ecx
mov edi, eax
cmp dword [0x49600c], ebx
je 0x4258ec
push ebx
call fcn.004146f7
pop ecx
mov dword [esi + 0x38], eax
cmp eax, ebx
jne 0x4258ec
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1e], bl
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], 7
xor edi, edi
jmp 0x425742
push edi
call fcn.00414717
mov eax, dword [0x497398]
push edi
mov dword [esi + 0x40], eax
mov dword [0x497398], esi
call fcn.00414735
pop ecx
pop ecx
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
cmp byte [ebx + 9], 0
je 0x425977
xor esi, esi
xor edx, edx
cmp dword [edi + 4], esi
jle 0x425977
mov ecx, dword [edi + 8]
add ecx, 4
mov eax, dword [ecx]
cmp eax, esi
je 0x42592f
cmp byte [eax + 9], 0
jne 0x42593d
inc edx
add ecx, 0x18
cmp edx, dword [edi + 4]
jl 0x425923
jmp 0x425977
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x14], esi
jne 0x42593a
mov ecx, dword [ebx + 4]
cmp ecx, dword [eax + 4]
jae 0x42595f
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
mov dword [eax + 0x14], ebx
jmp 0x425977
mov edx, dword [eax + 0x10]
cmp dword [edx + 4], ecx
jae 0x425964
mov eax, edx
cmp dword [eax + 0x10], esi
jne 0x425955
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
cmp ecx, esi
je 0x425974
mov dword [ecx + 0x14], ebx
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
jmp 0x425768