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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4bdfce
sub esp, 0x88
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4bd757
movzx ebx, byte [edx]
cmp bl, 0x10
ja 0x4bd47f
cmp bl, 0xd
je 0x4bd735
cmp bl, 0xe
jb 0x4bd749
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 4]
test ecx, ecx
jbe 0x4bdfc6
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004bd330
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
movzx edx, byte [ecx]
movzx ebx, word [ecx + 2]
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x4bd3b8
mov ecx, eax
jmp 0x4bd471
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x4bd3d6
mov ebp, ebx
and ebx, 0x20
movzx esi, word [eax + 2]
and esi, 0x20
cmp si, bx
jne 0x4bd3d8
mov ecx, eax
jmp 0x4bd471
mov ebp, ebx
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
test ebx, ebx
jbe 0x4bdfbd
cmp dword [esi], eax
je 0x4bd471
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], dl
mov word [esp + 0x2e], bp
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
movzx ecx, word [esp + 0x2e]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bd433
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
jmp 0x4bd440
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0045d600
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4bd45d
mov dword [eax + 4], edi
jmp 0x4bd46f
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov ecx, eax
mov dword [esp + 0x90], ecx
add esp, 0x88
ret
cmp bl, 0x11
jne 0x4bd730
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x4bd4b9
mov ebx, dword [edx + 0x2c]
test ebx, ebx
jne 0x4bd4b9
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 2
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 4]
test ecx, ecx
jbe 0x4bdfb6
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004bd330
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x2c]
cmp edx, 0xffffffff
jne 0x4bd6aa
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4bd603
cmp edx, 1
je 0x4bd55c
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
lea edi, [eax + 4]
mov ecx, dword [0x605b20]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x4bd534
mov dword [eax + 4], edx
jmp 0x4bd53f
mov ecx, eax
mov eax, edx
call fcn.0045d600
mov eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], edi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x58]
xor ebx, ebx
jmp 0x4bddc7
movzx ecx, word [ecx + 2]
movzx edx, byte [eax]
cmp dl, 2
je 0x4bd5f5
mov word [esp + 0x2a], cx
cmp dl, 0xf
jne 0x4bd585
and ecx, 0x20
movzx ebx, word [eax + 2]
and ebx, 0x20
cmp bx, cx
je 0x4bd5f5
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x2a]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bd5b9
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
jmp 0x4bd5c6
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045d600
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4bd5e3
mov dword [eax + 4], edi
jmp 0x4bd5f5
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
movzx ecx, word [ecx + 2]
movzx edx, byte [eax]
cmp dl, 2
je 0x4bd69c
mov word [esp + 0x28], cx
cmp dl, 0xe
jne 0x4bd62c
and ecx, 0x20
movzx ebx, word [eax + 2]
and ebx, 0x20
cmp bx, cx
je 0x4bd69c
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0xe
movzx ecx, word [esp + 0x28]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bd660
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
jmp 0x4bd66d
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045d600
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4bd68a
mov dword [eax + 4], edi
jmp 0x4bd69c
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ebx, dword [ecx + 0x28]
cmp ebx, 1
jne 0x4bd6c5
cmp edx, 1
jne 0x4bd6c5
mov dword [esp + 0x90], eax
add esp, 0x88
ret
test ebx, ebx
jg 0x4bd6d0
xor edx, edx
jmp 0x4bda85
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
lea edi, [eax + 4]
mov ecx, dword [0x605b20]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x4bd708
mov dword [eax + 4], edx
jmp 0x4bd713
mov ecx, eax
mov eax, edx
call fcn.0045d600
mov eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x80], edi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x58]
xor ebx, ebx
jmp 0x4bd9d4
cmp bl, 0x13
ja 0x4bd749
mov eax, dword [edx + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov ebx, edx
xor ebp, ebp
jmp 0x4bd77a
mov dword [esp + 0x90], edx
add esp, 0x88
ret
mov dword [esp + 0x90], 0
add esp, 0x88
ret
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x44]
mov ebx, edi
cmp ebp, ecx
jge 0x4bd9b3
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x68], edx
mov ecx, dword [eax + ebp*4]
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
call fcn.004bd330
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jne 0x4bd908
mov ebx, dword [esp + 0x50]
cmp eax, ebx
je 0x4bd908
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov edi, dword [esp + 4]
mov dword [esp + 0x68], edi
mov eax, dword [0x605b20]
test eax, eax
jne 0x4bd7ee
mov esi, dword [esp + 0x8c]
call fcn.0045dc5a
jmp 0x4bd80b
lea eax, [0x508b60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.004108a0
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov ebp, dword [0x605b20]
test ebp, ebp
jne 0x4bd830
mov dword [ebx + 0x14], 0
jmp 0x4bd83a
lea edi, [ebx + 0x14]
xor eax, eax
call fcn.0045d600
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x4bd9c1
lea edx, [ebx + 0x10]
cmp ecx, 1
ja 0x4bd862
mov esi, 1
jmp 0x4bd89e
mov dword [esp + 0x78], ebp
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
call fcn.00446d70
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
mov esi, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], esi
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004109b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bd8e9
mov edx, dword [esp + 0x74]
mov dword [ecx + 4], edx
jmp 0x4bd8f9
lea edi, [ecx + 4]
mov edx, eax
mov eax, dword [esp + 0x74]
call fcn.0045d600
mov eax, edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x68]
cmp ecx, edx
je 0x4bd9ac
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 0xc]
mov edi, ecx
lea ecx, [ebx + 1]
cmp esi, ecx
jae 0x4bd97f
mov dword [esp + 0x70], edx
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bd966
mov dword [ebx + 4], eax
jmp 0x4bd96e
lea edi, [ebx + 4]
call fcn.0045d600
mov edx, ebx
mov edi, dword [esp + 0x8c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x60]
lea ecx, [ebx + 1]
mov dword [edx + 8], ecx
mov ecx, dword [0x605b20]
lea esi, [ebp + ebx*4]
test ecx, ecx
jne 0x4bd99c
mov dword [ebp + ebx*4], eax
jmp 0x4bd769
mov ecx, edi
mov edi, esi
call fcn.0045d600
mov edi, ecx
jmp 0x4bd769
mov edi, ecx
jmp 0x4bd769
mov dword [esp + 0x90], edx
add esp, 0x88
ret
call fcn.0045d6c0
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x8c]
cmp dword [ecx + 0x28], ebx
jle 0x4bda7f
mov dword [esp + 0x34], ebx
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
cmp ebx, esi
jae 0x4bda4e
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bda38
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x80]
jmp 0x4bda44
mov edi, dword [esp + 0x80]
call fcn.0045d600
mov edx, dword [esp + 0x58]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ebp + 1]
mov dword [eax + 8], ebx
mov ebx, dword [0x605b20]
lea esi, [ecx + ebp*4]
test ebx, ebx
jne 0x4bda69
mov dword [ecx + ebp*4], edx
jmp 0x4bd9c6
mov ecx, edi
mov edi, esi
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov edi, ecx
jmp 0x4bd9c6
mov eax, edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x2c]
cmp dword [ecx + 0x28], ebx
jge 0x4bdb55
mov dword [esp + 0x5c], edx
movzx ebx, word [ecx + 2]
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x4bdaaa
mov ebx, eax
jmp 0x4bdb4f
mov word [esp + 0x2c], bx
xchg ebp, eax
cmp al, 0x10
xchg ebp, eax
jne 0x4bdacc
and ebx, 0x20
movzx esi, word [eax + 2]
and esi, 0x20
cmp si, bx
jne 0x4bdacc
mov ebx, eax
jmp 0x4bdb4f
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x2c]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bdb00
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
jmp 0x4bdb11
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045d600
mov eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bdb2e
mov dword [eax + 4], edi
jmp 0x4bdb40
lea edx, [eax + 4]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.0045d600
mov eax, ebp
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [ecx + 0x28]
inc ebp
jmp 0x4bdb9b
test edx, edx
je 0x4bdb67
mov dword [esp + 0x90], edx
add esp, 0x88
ret
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 1
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov esi, dword [esp + 0x38]
inc esi
mov ecx, edx
mov edx, dword [esp + 0x5c]
mov ebx, eax
mov eax, ebp
mov ebp, esi
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x2c], ebp
jle 0x4bdd1c
mov dword [esp + 0x38], ebp
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov byte [eax], 0x12
lea ecx, [0x5070a0]
mov dword [esp], ecx
lea edx, [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [0x605b20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4bdc17
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ebp, dword [esp + 0x4c]
mov dword [eax + 4], ebp
jmp 0x4bdc38
mov edi, eax
mov eax, dword [esp + 0x58]
call fcn.0045d600
lea ecx, [edi + 4]
mov ebp, edi
mov edi, ecx
mov esi, eax
mov eax, dword [esp + 0x4c]
call fcn.0045d600
mov eax, ebp
mov ecx, esi
add edx, 2
mov ebp, dword [esp + 0x64]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bdc54
mov dword [ebp + 4], eax
jmp 0x4bdc5c
lea edi, [ebp + 4]
call fcn.0045d600
mov edx, dword [esp + 0x8c]
movzx ebx, word [edx + 2]
movzx esi, byte [ebp]
xchg esi, eax
cmp al, 2
xchg esi, eax
jne 0x4bdc79
mov eax, ecx
jmp 0x4bdb8a
mov word [esp + 0x24], bx
xchg esi, eax
cmp al, 0x10
xchg esi, eax
jne 0x4bdc9a
and ebx, 0x20
mov eax, ecx
movzx ecx, word [ebp + 2]
and ecx, 0x20
cmp cx, bx
je 0x4bdb8a
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x24]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bdcce
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
jmp 0x4bdcdb
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045d600
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4bdcf8
mov dword [eax + 4], edi
jmp 0x4bdd0a
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov edx, dword [esp + 0x8c]
mov ebp, eax
mov eax, dword [esp + 0x58]
jmp 0x4bdb8a
test edx, edx
je 0x4bddab
mov ecx, dword [edx + 8]
lea ebx, [ecx + 1]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 0xc]
cmp esi, ebx
jae 0x4bdd84
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bdd74
mov dword [ebx + 4], eax
jmp 0x4bdd7c
lea edi, [ebx + 4]
call fcn.0045d600
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x4c]
lea ebx, [ecx + 1]
mov dword [edx + 8], ebx
mov ebx, dword [0x605b20]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x4bdda1
mov dword [ebp + ecx*4], eax
jmp 0x4bdb55
call fcn.0045d600
jmp 0x4bdb55
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ebp, dword [esp + 0x30]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x8c]
mov ebp, dword [ecx + 0x28]
dec ebp
cmp ebx, ebp
jge 0x4bde75
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
cmp ebx, esi
jae 0x4bde44
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bde2e
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x84]
jmp 0x4bde3a
mov edi, dword [esp + 0x84]
call fcn.0045d600
mov edx, dword [esp + 0x58]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ebp + 1]
mov dword [eax + 8], ebx
mov ebx, dword [0x605b20]
lea esi, [ecx + ebp*4]
test ebx, ebx
jne 0x4bde5f
mov dword [ecx + ebp*4], edx
jmp 0x4bddb9
mov ecx, edi
mov edi, esi
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov edi, ecx
jmp 0x4bddb9
movzx ecx, word [ecx + 2]
movzx ebx, byte [edx]
cmp bl, 2
je 0x4bdf1b
mov word [esp + 0x26], cx
cmp bl, 0xf
jne 0x4bde9e
and ecx, 0x20
movzx ebp, word [edx + 2]
and ebp, 0x20
cmp bp, cx
je 0x4bdf1b
lea eax, [0x508b60]
mov dword [esp], eax
call fcn.0040b480
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x26]
mov word [eax + 2], cx
mov ecx, dword [0x605b20]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x4bded2
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
jmp 0x4bdedf
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045d600
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4bdefc
mov dword [eax + 4], edi
jmp 0x4bdf0e
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045d600
mov eax, ebx
mov edi, dword [esp + 0x84]
mov edx, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
lea esi, [ecx + 1]
cmp ebp, esi
jae 0x4bdf85
mov dword [esp + 0x48], edx
lea eax, [0x5070a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00446d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x605b20]
test edx, edx
jne 0x4bdf6f
mov dword [ebx + 4], eax
jmp 0x4bdf7b
mov edi, dword [esp + 0x84]
call fcn.0045d600
mov edx, dword [esp + 0x48]
mov ebp, eax
mov eax, ebx
mov ebx, ebp
lea ebp, [ecx + 1]
mov dword [eax + 8], ebp
mov ebp, dword [0x605b20]
lea edi, [ebx + ecx*4]
test ebp, ebp
jne 0x4bdf9d
mov dword [ebx + ecx*4], edx
jmp 0x4bdfa8
mov ecx, eax
mov eax, edx
call fcn.0045d600
mov eax, ecx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
xor eax, eax
call fcn.0045d680
xor eax, eax
mov ecx, ebx
call fcn.0045d680
xor eax, eax
call fcn.0045d680
nop
call fcn.0045c1c0
jmp fcn.004bd330