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

Disassembly:
sub esp, 0x74
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
lea ebp, [eax + 0x2d]
mov dword [esp + 0x10], 0xa
xor ebx, ebx
lea ecx, [ebp - 0x13]
push 0x6424a8
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
mov dx, word [ecx + 0x10]
mov word [esp + 0x38], dx
mov al, byte [ecx + 0x12]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a], al
push ecx
mov byte [esp + 0x3e], bl
call fcn.00614750
add esp, 8
cmp eax, ebx
je 0x4de7f2
mov byte [eax], bl
cmp dword [0xa4f274], ebx
jne 0x4de808
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00586da0
add esp, 8
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x48], cx
mov dl, byte [eax + 0x12]
mov eax, dword [0xa4f274]
mov byte [esp + 0x4a], dl
cmp eax, ebx
mov byte [esp + 0x4a], bl
jne 0x4de850
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00586da0
add esp, 8
xor ecx, ecx
mov cx, word [ebp - 0x15]
push ecx
mov ecx, 0xd12058
call fcn.005888c0
mov ecx, dword [0xa4f274]
cmp eax, ebx
je 0x4de887
add eax, 0x28
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov al, byte [eax + 0xc]
jmp 0x4de8d1
cmp ecx, ebx
je 0x4de8af
mov edx, dword [0x65bd90]
mov eax, dword [0x65bd94]
mov dword [esp + 0x14], edx
mov edx, dword [0x65bd98]
mov dword [esp + 0x18], eax
mov al, byte [0x65bd9c]
mov dword [esp + 0x1c], edx
jmp 0x4de8d1
mov edx, dword [0x65bd8c]
mov eax, dword [0x65bd90]
mov dword [esp + 0x14], edx
mov edx, dword [0x65bd94]
mov dword [esp + 0x18], eax
mov al, byte [0x65bd98]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], al
cmp ecx, ebx
mov byte [esp + 0x20], bl
jne 0x4de8e1
mov byte [esp + 0x21], bl
lea ecx, [esp + 0x4c]
call fcn.00579ba0
mov ecx, dword [ebp - 0x19]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00579bf0
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x84]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, 0xd05860
call fcn.00579fe0
mov eax, dword [esp + 0x10]
add ebp, 0x2c
dec eax
mov dword [esp + 0x10], eax
jne 0x4de7a8
mov edx, dword [esp + 0x88]
mov dword [esp + 0x10], 0xa
lea ebp, [edx + 0x1e5]
lea eax, [ebp - 0x13]
push 0x6424a8
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x38], cx
mov dl, byte [eax + 0x12]
lea eax, [esp + 0x28]
mov byte [esp + 0x3a], dl
push eax
mov byte [esp + 0x3e], bl
call fcn.00614750
add esp, 8
cmp eax, ebx
je 0x4de995
mov byte [eax], bl
cmp dword [0xa4f274], ebx
jne 0x4de9ab
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.00586da0
add esp, 8
mov edx, ebp
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x44], ecx
mov ax, word [edx + 0x10]
mov word [esp + 0x48], ax
mov eax, dword [0xa4f274]
mov cl, byte [edx + 0x12]
cmp eax, ebx
mov byte [esp + 0x4a], cl
mov byte [esp + 0x4a], bl
jne 0x4de9f3
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.00586da0
add esp, 8
xor eax, eax
mov ecx, 0xd12058
mov ax, word [ebp - 0x15]
push eax
call fcn.005888c0
cmp eax, ebx
je 0x4dea28
add eax, 0x28
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dl, byte [eax + 0xc]
mov byte [esp + 0x20], dl
jmp 0x4dea7f
cmp dword [0xa4f274], ebx
je 0x4dea58
mov eax, dword [0x65bd90]
mov ecx, dword [0x65bd94]
mov edx, dword [0x65bd98]
mov dword [esp + 0x14], eax
mov al, byte [0x65bd9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], al
jmp 0x4dea7f
mov ecx, dword [0x65bd8c]
mov edx, dword [0x65bd90]
mov eax, dword [0x65bd94]
mov dword [esp + 0x14], ecx
mov cl, byte [0x65bd98]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x4c]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
call fcn.00579ba0
mov ecx, dword [ebp - 0x19]
mov eax, 0x6c16c16d
mul ecx
sub ecx, edx
lea eax, [esp + 0x38]
shr ecx, 1
add ecx, edx
lea edx, [esp + 0x14]
shr ecx, 0xa
push ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00579bf0
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x84]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 2
mov ecx, 0xd05860
call fcn.00579fe0
mov eax, dword [esp + 0x10]
add ebp, 0x2c
dec eax
mov dword [esp + 0x10], eax
jne 0x4de94b
mov edx, dword [esp + 0x88]
mov dword [esp + 0x10], 0xa
lea ebp, [edx + 0x1031]
lea eax, [ebp - 0x13]
push 0x6424a8
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x38], cx
mov dl, byte [eax + 0x12]
lea eax, [esp + 0x28]
mov byte [esp + 0x3a], dl
push eax
mov byte [esp + 0x3e], bl
call fcn.00614750
add esp, 8
cmp eax, ebx
je 0x4deb4c
mov byte [eax], bl
cmp dword [0xa4f274], ebx
jne 0x4deb62
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.00586da0
add esp, 8
mov edx, ebp
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x44], ecx
mov ax, word [edx + 0x10]
mov word [esp + 0x48], ax
mov eax, dword [0xa4f274]
mov cl, byte [edx + 0x12]
cmp eax, ebx
mov byte [esp + 0x4a], cl
mov byte [esp + 0x4a], bl
jne 0x4debaa
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.00586da0
add esp, 8
xor eax, eax
mov ecx, 0xd12058
mov ax, word [ebp - 0x15]
push eax
call fcn.005888c0
cmp eax, ebx
je 0x4debdf
add eax, 0x28
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dl, byte [eax + 0xc]
mov byte [esp + 0x20], dl
jmp 0x4dec36
cmp dword [0xa4f274], ebx
je 0x4dec0f
mov eax, dword [0x65bd90]
mov ecx, dword [0x65bd94]
mov edx, dword [0x65bd98]
mov dword [esp + 0x14], eax
mov al, byte [0x65bd9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], al
jmp 0x4dec36
mov ecx, dword [0x65bd8c]
mov edx, dword [0x65bd90]
mov eax, dword [0x65bd94]
mov dword [esp + 0x14], ecx
mov cl, byte [0x65bd98]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x4c]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
call fcn.00579ba0
mov edx, dword [ebp - 0x19]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00579bf0
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x84]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, 0xd05860
call fcn.00579fe0
mov eax, dword [esp + 0x10]
add ebp, 0x2c
dec eax
mov dword [esp + 0x10], eax
jne 0x4deb02
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], 0xa
lea ebp, [eax + 0x11e9]
lea ecx, [ebp - 0x13]
push 0x6424a8
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
mov dx, word [ecx + 0x10]
mov word [esp + 0x38], dx
mov al, byte [ecx + 0x12]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a], al
push ecx
mov byte [esp + 0x3e], bl
call fcn.00614750
add esp, 8
cmp eax, ebx
je 0x4decf3
mov byte [eax], bl
cmp dword [0xa4f274], ebx
jne 0x4ded09
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00586da0
add esp, 8
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x48], cx
mov dl, byte [eax + 0x12]
mov eax, dword [0xa4f274]
mov byte [esp + 0x4a], dl
cmp eax, ebx
mov byte [esp + 0x4a], bl
jne 0x4ded51
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00586da0
add esp, 8
xor ecx, ecx
mov cx, word [ebp - 0x15]
push ecx
mov ecx, 0xd12058
call fcn.005888c0
cmp eax, ebx
je 0x4ded86
add eax, 0x28
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov al, byte [eax + 0xc]
mov byte [esp + 0x20], al
jmp 0x4dedde
cmp dword [0xa4f274], ebx
je 0x4dedb7
mov ecx, dword [0x65bd90]
mov edx, dword [0x65bd94]
mov eax, dword [0x65bd98]
mov dword [esp + 0x14], ecx
mov cl, byte [0x65bd9c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], cl
jmp 0x4dedde
mov edx, dword [0x65bd8c]
mov eax, dword [0x65bd90]
mov ecx, dword [0x65bd94]
mov dword [esp + 0x14], edx
mov dl, byte [0x65bd98]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x4c]
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
call fcn.00579ba0
mov eax, dword [ebp - 0x19]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00579bf0
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x84]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push 3
mov ecx, 0xd05860
call fcn.00579fe0
mov eax, dword [esp + 0x10]
add ebp, 0x2c
dec eax
mov dword [esp + 0x10], eax
jne 0x4deca9
pop edi
pop esi
pop ebp
mov dword [0xd058e0], 1
pop ebx
add esp, 0x74
ret