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

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
xor esi, esi
mov ecx, dword [esp + 0x11c]
push ebp
add ecx, 0x10
lea edx, [esp + 0x68]
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], esi
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x30], esi
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x120]
mov dword [edx + 4], ebx
push ecx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
call fcn.00420660
add dword [esp + 0x78], eax
mov eax, dword [esp + 0x128]
add esp, 4
cmp eax, esi
je 0x41ada4
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x4f6c24]
test eax, eax
je 0x41b6ae
mov eax, dword [esp + 0x120]
cmp word [eax + 0x2a], 0
jne 0x41adc5
mov ax, word [eax + 0x6c]
cmp ax, 4
je 0x41adc5
test ax, ax
jne 0x41b6ae
xor si, si
mov eax, dword [esp + 0x120]
push eax
call fcn.00419ba0
mov eax, dword [esp + 0x124]
add esp, 4
mov edx, dword [eax + 0x3a]
mov ax, word [eax + 0x3e]
mov dword [esp + 0x28], edx
test ax, ax
jle 0x41ae08
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
cmp dword [edx + 2], ecx
jg 0x41ae08
inc si
add dword [esp + 0x28], 0xe
cmp si, ax
jl 0x41adef
test si, si
jle 0x41ae14
sub dword [esp + 0x28], 0xe
dec si
sub ax, si
mov edx, dword [esp + 0x120]
mov word [esp + 0x14], ax
mov ecx, dword [edx + 0x26]
mov ebx, dword [edx + 0x30]
mov ebp, dword [esp + 0x28]
movsx eax, word [edx + 0x34]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + eax*4]
mov ax, word [ebp]
lea edx, [ebx + ecx*2 - 0xa]
mov ecx, dword [esp + 0x120]
push eax
mov dword [esp + 0x5c], edx
push ecx
call fcn.0041be70
movsx ecx, ax
lea edx, [ecx + ecx*4]
add esp, 8
xor eax, eax
mov al, byte [ebx + edx*2 + 8]
lea ebx, [ebx + edx*2]
and eax, 1
cmp ebx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
jb 0x41ae7a
mov word [esp + 0x1c], 0xffff
jmp 0x41ae83
mov ax, word [ebx + 0xa]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x120]
push eax
call fcn.00420bd0
mov eax, dword [esp + 0x124]
add esp, 4
cmp dword [eax + 0x56], 0
jne 0x41aeb4
push eax
call fcn.00419bf0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov eax, dword [esp + 0x120]
cmp dword [eax + 0x5e], 0
je 0x41aecf
mov eax, dword [0x4eddb0]
mov ebp, dword [0x4f6be0]
push eax
call ebp
mov eax, dword [esp + 0x120]
mov ax, word [eax + 0x6c]
cmp ax, 4
je 0x41aee5
test ax, ax
jne 0x41aefe
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x68]
mov ecx, dword [eax + 0x76]
push ecx
push edx
push eax
call fcn.0041a710
add esp, 0xc
mov eax, dword [esp + 0x120]
push eax
call fcn.0041db80
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x124]
lea edx, [esp + 0xb0]
add esp, 4
push eax
push ebx
push ecx
push edx
call fcn.0041bcb0
lea edi, [esp + 0xa0]
add esp, 0x10
mov esi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x90]
lea edi, [esp + 0x100]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
cmp word [esp + 0x14], 0
jle 0x41b644
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
cmp dword [edx + 2], eax
jge 0x41b644
mov dword [esp + 0x38], 0
mov cx, word [edx]
test cx, cx
je 0x41afa0
mov eax, dword [esp + 0x120]
mov edx, dword [eax + 0x22]
mov esi, dword [edx]
movsx eax, cx
cmp byte [esi + eax - 1], 0xd
mov esi, 0
jne 0x41afa5
mov esi, 1
test esi, esi
jne 0x41afb0
cmp dword [esp + 0x50], 0
jne 0x41afce
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x128]
push ecx
call fcn.0041beb0
mov dword [esp + 0x5c], 1
add esp, 0xc
mov edx, dword [esp + 0x28]
mov ax, word [edx]
add edx, 0xe
mov word [esp + 0x22], ax
mov edi, dword [esp + 0x120]
mov cx, word [edi + 0x2a]
mov dword [esp + 0x60], edx
mov word [esp + 0x20], ax
mov ax, word [edx]
mov word [esp + 0x1e], ax
cmp ax, cx
jle 0x41b003
mov word [esp + 0x1e], cx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
mov eax, dword [edx + 6]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xa]
sub eax, dword [ebx + 2]
cmp word [esp + 0x78], 3
mov dword [esp + 0x34], eax
jne 0x41b0d1
cmp word [esp + 0x1e], cx
jge 0x41b0d1
cmp word [esp + 0x1e], 0
je 0x41b057
mov eax, dword [esp + 0x120]
mov edx, dword [eax + 0x22]
mov ecx, dword [edx]
movsx eax, word [esp + 0x1e]
cmp byte [ecx + eax - 1], 0xd
je 0x41b0d1
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x22]
mov edx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x40], 2
push ecx
push edx
call fcn.0041b6c0
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x8a]
add eax, dword [esp + 0x8e]
add esp, 0xc
test esi, esi
mov dword [esp + 0x54], eax
je 0x41b09d
mov eax, dword [esp + 0x7a]
sub dword [esp + 0x54], eax
mov eax, dword [esp + 0x1e]
push 0
mov ecx, dword [esp + 0x26]
push eax
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x50], 0
mov word [esp + 0x26], 0xffff
mov word [esp + 0x24], 0
push edx
call fcn.0041b710
mov word [esp + 0x22], ax
add esp, 0x10
mov ecx, dword [esp + 0x7e]
test esi, esi
je 0x41b0dd
add ecx, dword [esp + 0x7a]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 6]
sub eax, ecx
mov cx, word [esp + 0x22]
mov dword [esp + 0x28], eax
cmp word [esp + 0x1e], cx
jle 0x41b580
cmp dword [0x4eb22c], 0
mov ebp, dword [esp + 0x3c]
je 0x41b10f
mov ebp, dword [esp + 0x30]
or ebp, dword [esp + 0x3c]
test ebp, 2
je 0x41b1cc
cmp word [esp + 0x16], 0xffff
jne 0x41b1cc
cmp word [esp + 0x1a], 0xffff
jne 0x41b1cc
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1a]
push eax
push ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x26]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
push eax
push ecx
mov eax, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x8c]
push eax
mov edx, dword [esp + 0x138]
push ecx
push edx
call fcn.0041b7f0
mov cx, word [esp + 0x3c]
add esp, 0x20
cmp word [esp + 0x1e], cx
jl 0x41b1cc
cmp cx, 0xffff
je 0x41b1cc
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x120]
lea edx, [esp + 0x90]
push eax
push ebx
push ecx
push edx
call fcn.0041bcb0
lea edi, [esp + 0xd8]
add esp, 0x10
mov esi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc8]
push ecx
call dword [0x4f677c]
cmp dword [0x4eb22c], 0
je 0x41b1cc
mov ebp, dword [esp + 0x30]
or ebp, dword [esp + 0x3c]
mov ax, word [esp + 0x22]
cmp ax, word [esp + 0x1c]
jne 0x41b35b
cmp dword [esp + 0x40], 0
jne 0x41b2b7
test ebp, 2
je 0x41b1f7
cmp word [esp + 0x16], 0xffff
je 0x41b23d
test ebp, 4
jne 0x41b23d
mov ax, word [esp + 0x22]
push ebx
sub ax, word [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push eax
movsx eax, word [esp + 0x28]
add eax, dword [esp + 0x34]
push eax
push ecx
mov eax, dword [esp + 0x130]
push edx
push eax
call fcn.0041a410
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], eax
add esp, 0x18
jmp 0x41b2b7
mov ax, word [esp + 0x22]
mov ecx, ebp
cmp word [esp + 0x12], ax
jle 0x41b24e
or ecx, 1
cmp word [esp + 0x16], 0xffff
je 0x41b259
and ecx, 0xfffffffd
lea eax, [esp + 0x4c]
lea edx, [esp + 0x38]
lea esi, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x22]
push esi
push eax
push ecx
mov ax, word [esp + 0x32]
mov ecx, dword [esp + 0x5c]
sub ax, word [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x40]
push ebx
push eax
mov ax, word [esp + 0x46]
sub ax, word [esp + 0x44]
push eax
movsx eax, word [esp + 0x48]
add eax, dword [esp + 0x54]
push eax
push ecx
mov eax, dword [esp + 0x150]
push edx
push eax
call fcn.0041b940
mov dword [esp + 0x5c], eax
add esp, 0x38
mov eax, dword [ebx + 2]
test eax, eax
je 0x41b2c2
add dword [esp + 0x34], eax
mov ax, word [esp + 0x22]
add ebx, 0xa
mov word [esp + 0x20], ax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x120]
push ecx
lea edx, [esp + 0xb0]
push ebx
push eax
push edx
call fcn.0041bcb0
lea edi, [esp + 0xf4]
add esp, 0x10
mov esi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xe4]
push ecx
call dword [0x4f677c]
cmp dword [0x4eb22c], 0
je 0x41b31c
mov ebp, dword [esp + 0x30]
or ebp, dword [esp + 0x3c]
mov eax, dword [ebx + 2]
test eax, eax
je 0x41b327
sub dword [esp + 0x34], eax
xor eax, eax
mov al, byte [ebx + 8]
and eax, 1
cmp ebx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
jb 0x41b342
mov word [esp + 0x1c], 0xffff
jmp 0x41b34b
mov ax, word [ebx + 0xa]
mov word [esp + 0x1c], ax
mov ax, word [esp + 0x22]
cmp ax, word [esp + 0x1c]
je 0x41b1dc
movsx eax, word [esp + 0x22]
mov esi, dword [esp + 0x2c]
add esi, eax
cmp byte [esi], 9
jne 0x41b550
cmp dword [esp + 0x40], 0
jne 0x41b42a
cmp dword [0x4eb22c], 0
je 0x41b3ee
cmp dword [esp + 0x30], 0
je 0x41b3ee
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x2a]
push ecx
push edx
push eax
mov ax, word [esp + 0x3a]
push ebx
sub ax, word [esp + 0x40]
push eax
mov ax, word [esp + 0x46]
mov ecx, dword [esp + 0x58]
sub ax, word [esp + 0x44]
mov edx, dword [esp + 0x48]
push eax
movsx eax, word [esp + 0x48]
add eax, dword [esp + 0x54]
push eax
push ecx
mov eax, dword [esp + 0x150]
push edx
push eax
call fcn.0041b940
mov dword [esp + 0x5c], eax
add esp, 0x38
jmp 0x41b42a
mov ax, word [esp + 0x22]
push ebx
sub ax, word [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push eax
movsx eax, word [esp + 0x28]
add eax, dword [esp + 0x34]
push eax
push ecx
mov eax, dword [esp + 0x130]
push edx
push eax
call fcn.0041a410
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], eax
add esp, 0x18
mov di, word [esp + 0x22]
lea ecx, [esp + 0x64]
inc di
push ecx
mov word [esp + 0x24], di
lea eax, [esp + 0x60]
lea ecx, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x30]
push eax
push ecx
call fcn.0041bdf0
add esp, 0x10
test eax, eax
je 0x41b49a
xor eax, eax
cmp dword [esp + 0x64], eax
je 0x41b485
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x120]
sub eax, dword [esp + 0x24]
push eax
mov ax, word [esp + 0x22]
sub ax, di
push eax
push edi
push ecx
call fcn.0041da60
add esp, 0x10
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x24], eax
jmp 0x41b530
cmp dword [esp + 0x40], 0
jne 0x41b530
cmp dword [0x4eb22c], 0
je 0x41b502
cmp dword [esp + 0x30], 0
je 0x41b502
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x2a]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x13c]
push ebx
push 1
push 1
push 0x4e911c
push ecx
push edx
push eax
call fcn.0041b940
mov dword [esp + 0x5c], eax
add esp, 0x38
jmp 0x41b530
mov eax, dword [esp + 0x34]
push ebx
mov ecx, dword [esp + 0x28]
push 1
mov edx, dword [esp + 0x128]
push 0x4e911c
push eax
push ecx
push edx
call fcn.0041a410
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], eax
add esp, 0x18
test ebp, 2
je 0x41b550
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x2c]
push eax
push edi
push ecx
call fcn.0041b6c0
mov word [esp + 0x22], ax
add esp, 0xc
cmp dword [0x4eb22c], 0
jne 0x41b560
inc word [esp + 0x22]
jmp 0x41b570
push esi
call dword [0x4f6c80]
sub eax, dword [esp + 0x2c]
mov word [esp + 0x22], ax
mov ax, word [esp + 0x22]
cmp word [esp + 0x1e], ax
jg 0x41b0fa
mov cx, word [esp + 0x1e]
mov ax, word [esp + 0x22]
cmp cx, ax
jl 0x41b592
mov cx, ax
cmp dword [esp + 0x40], 0
jne 0x41b62b
test ebp, ebp
je 0x41b5f8
lea eax, [esp + 0x4c]
lea edx, [esp + 0x38]
lea esi, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x26]
push eax
mov ax, word [esp + 0x2e]
push ebp
sub ax, word [esp + 0x34]
push edx
sub cx, word [esp + 0x38]
push esi
push ebx
push eax
mov edx, dword [esp + 0x48]
push ecx
movsx eax, word [esp + 0x48]
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov eax, dword [esp + 0x150]
push edx
push eax
call fcn.0041b940
add esp, 0x38
jmp 0x41b62b
sub cx, word [esp + 0x20]
push ebx
movsx eax, word [esp + 0x24]
add eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov edx, dword [esp + 0x30]
push ecx
mov eax, dword [esp + 0x130]
push edx
push eax
call fcn.0041a410
mov dword [esp + 0x50], 0
add esp, 0x18
dec word [esp + 0x14]
mov edx, dword [esp + 0x60]
cmp word [esp + 0x14], 0
mov dword [esp + 0x28], edx
jg 0x41af64
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0x120]
push eax
mov edx, dword [ecx + 0x56]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.0045e810
lea edi, [esp + 0x9c]
add esp, 0xc
mov esi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x90]
push ecx
call dword [0x4f677c]
mov ecx, dword [esp + 0x120]
cmp dword [ecx + 0x5e], 0
je 0x41b69e
mov eax, dword [0x4eddb0]
push eax
call dword [0x4f6c78]
mov eax, dword [esp + 0x120]
push eax
call fcn.00419bf0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret