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

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
sub esp, 0x4a0
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push eax
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.0044afd0
mov ecx, 0x13
mov esi, eax
lea edi, [esp + 0xa8]
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x98], 0
mov ecx, 0x13
lea esi, [esp + 0x98]
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
je 0x446f88
mov eax, 1
cmp word [0x4e235a], ax
jne 0x446f80
mov dword [esp + 0x10], eax
push eax
mov ax, word [0x4e2460]
push eax
call fcn.00443ea0
add esp, 8
mov word [0x4e2460], ax
jmp 0x446fc0
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x446f92
mov eax, dword [esp + 0x10]
cmp ax, 1
je 0x446fb5
mov ebx, dword [esp + 0x4b4]
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x38]
push ebx
push edx
push eax
call fcn.0044bcf0
add esp, 0x10
jmp 0x44729d
mov word [0x4e2460], 0
jmp 0x446fcf
cmp ax, 3
jle 0x446fcf
mov word [0x4e2460], 3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x28]
push 0x4e246c
push eax
call fcn.00444b00
lea ecx, [esp + 0x30]
push 0x4e246c
lea edx, [esp + 0xf8]
push ecx
push edx
call fcn.00444d40
mov ecx, 5
lea esi, [esp + 0x3c]
mov edi, 0x4e246c
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
cmp word [0x4e2460], 0
jne 0x447049
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.00443ea0
push 1
push eax
mov word [0x4e2462], ax
call fcn.00443f70
movsx edx, ax
add esp, 0x10
mov ax, word [edx*2 + 0x4d2d54]
jmp 0x44705d
mov ax, word [0x4e2462]
push 0x6000
push eax
call fcn.00444160
add esp, 8
mov ecx, 0x48
mov esi, 0x4e2480
lea edi, [esp + 0x1ac]
mov word [0x4e2462], ax
rep movsd dword es:[edi], dword [esi]
mov cx, word [0x4e2460]
movsw word es:[edi], word [esi]
test cx, cx
lea esi, [esp + 0x2ce]
jne 0x447259
lea eax, [esp + 0x134]
lea ecx, [esp + 0x2ce]
xor edi, edi
sub eax, ecx
lea edx, [esp + 0x1ac]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
lea ebx, [esp + 0x40]
mov eax, edi
push edi
sar eax, 1
mov edx, ebx
mov cx, word [esp + eax*2 + 0x40]
lea ebp, [esp + eax*2 + 0x40]
push ecx
mov ecx, dword [edx]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00447ff0
mov ax, word [ebx + 2]
mov cx, word [ebx]
mov dx, word [ebp]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x15c]
push eax
push ecx
call fcn.004488a0
add esp, 0x30
mov ebp, 0x3c
mov dx, word [esi]
push 1
push edx
call fcn.00443f00
mov ecx, dword [esp + 0x1c]
mov word [esi], ax
mov dx, word [ecx + esi]
push edx
push eax
call fcn.00443ea0
mov word [esi], ax
add esp, 0x10
add esi, 2
dec ebp
jne 0x44710e
mov ecx, dword [esp + 0x14]
mov eax, 0x78
sub ecx, eax
inc edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
add ebx, 0x10
add ecx, eax
cmp edi, 4
mov dword [esp + 0x18], ecx
jl 0x4470b4
mov ebx, dword [esp + 0x4b4]
mov ecx, eax
mov eax, dword [esp + 0x3e]
lea esi, [esp + 0x2ce]
mov edi, ebx
push 0x4e2358
rep movsd dword es:[edi], dword [esi]
push 0x4e2370
lea ecx, [esp + 0x1b4]
push eax
push ecx
call fcn.00448980
add esp, 0x10
cmp word [0x4d5d44], 0
mov word [0x4e2464], ax
je 0x4471e0
xor esi, esi
lea edi, [esp + 0x80]
mov edx, esi
push esi
sar edx, 1
lea ecx, [esp + 0x1b0]
mov ax, word [esp + edx*2 + 0x40]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00448bd0
mov edx, dword [eax]
mov ecx, edi
add esp, 0x10
inc esi
mov ax, word [eax + 4]
mov dword [ecx], edx
add edi, 6
cmp esi, 4
mov word [ecx + 4], ax
jl 0x4471a9
mov ecx, 0x48
mov esi, 0x4e2480
lea edi, [esp + 0x1ac]
cmp word [0x4d5d44], 0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x78
mov esi, ebx
lea edi, [esp + 0x2ce]
rep movsd dword es:[edi], dword [esi]
je 0x447246
xor esi, esi
lea edi, [esp + 0x80]
push esi
mov ecx, edi
sub esp, 8
mov eax, dword [ecx]
mov edx, esp
mov cx, word [ecx + 4]
mov dword [edx], eax
mov word [edx + 4], cx
lea edx, [esp + 0x1b8]
push edx
push ebx
call fcn.004491d0
add esp, 0x14
inc esi
add edi, 6
cmp esi, 4
jl 0x447218
mov ecx, 5
mov esi, 0x4e246c
mov edi, 0x4e235c
rep movsd dword es:[edi], dword [esi]
jmp 0x44727f
mov ebx, dword [esp + 0x4b4]
push 0x4e2466
push ecx
push eax
mov ax, word [0x4e2464]
lea ecx, [esp + 0x1b8]
push eax
push ecx
push ebx
call fcn.00448b00
add esp, 0x18
mov ecx, 0x48
lea esi, [esp + 0x38c]
mov edi, 0x4e2480
mov word [0x4e2372], 0x3039
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dx, word [esp + 0x10]
mov esi, ebx
mov word [0x4e235a], dx
lea edi, [esp + 0xe4]
mov ebx, 4
push edi
push esi
call fcn.00445c70
add esp, 8
cmp word [0x4d5d44], 0
je 0x4472dc
push edi
push esi
call fcn.00445d20
push eax
push esi
call fcn.0044b490
add esp, 0x10
add esi, 0x78
add edi, 0x14
dec ebx
jne 0x4472b7
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0x4a0
ret